Skip to content

Feature Overview

A comprehensive overview of everything EreoJS provides.

Routing

FeatureDescriptionLearn More
File-based routingFiles in routes/ map to URLs automaticallyRouting
Dynamic routes[param].tsx for URL parametersRouting
Catch-all routes[...slug].tsx for wildcard matchingRouting
Optional segments[[param]].tsx for optional URL partsRouting
Route groups(group)/ for organization without URL impactRouting
Nested layouts_layout.tsx files that nest automaticallyRouting
Type-safe paramsGenerated types for route parametersRouting
Route conventionsComplete file naming referenceRoute Conventions

Data Loading

FeatureDescriptionLearn More
LoadersServer-side data fetching before renderData Loading
ActionsServer-side mutation handling (forms, APIs)Data Loading
defineRoute builderFull type inference across loader/action/metaData Loading
Deferred dataStream non-critical data with defer()Data Loading
Combined loadersParallel data fetching with combineLoadersData Loading
Data pipelinesDependency-aware parallel loadingData Loading
Client loadersBrowser-side data fetching after hydrationData Loading

Rendering

FeatureDescriptionLearn More
Server-Side Rendering (SSR)HTML generated per requestRendering Modes
Static Site Generation (SSG)HTML generated at build timeRendering Modes
Client-Side Rendering (CSR)Browser-only renderingRendering Modes
Streaming SSRProgressive HTML delivery with SuspenseStreaming Deep Dive
Per-route configurationSet rendering mode per routeRendering Modes

Islands Architecture

FeatureDescriptionLearn More
Selective hydrationOnly interactive components ship JavaScriptIslands
.island.tsx conventionFile-based island declarationIslands
'use client' directiveAlternative island declarationIslands
Hydration strategiesload, idle, visible, media, noneConfig Reference

Caching

FeatureDescriptionLearn More
Tag-based invalidationInvalidate cache by semantic tagsCaching
Path-based invalidationInvalidate cache by URL pathCaching
Edge cachingCDN-layer cache headersCaching Deep Dive
Stale-while-revalidateServe stale data while refreshingCaching
Webhook revalidationExternal trigger for cache invalidationData Loading
Custom cache adaptersMemory, Redis, or bring your ownConfig Reference

Forms

FeatureDescriptionLearn More
<Form> componentProgressive enhancement for HTML formsForms
@ereo/forms libraryFull-featured form managementForms
20+ validatorsBuilt-in validation rulesForms
Schema validationZod, Valibot, Standard Schema supportForms
Field arraysDynamic add/remove/reorder fieldsForms
Multi-step wizardsPer-step validation with persistenceForms
Server error mappingAutomatic server-to-field error bindingForms

State Management

FeatureDescriptionLearn More
SignalsReactive primitives for stateState Management
Computed signalsDerived values that auto-updateState Management
React integrationuseSignal hook via useSyncExternalStoreState Management
Batched updatesGroup multiple signal updatesState Management

Authentication

FeatureDescriptionLearn More
Session managementCookie and server-side sessionsAuth Plugin
OAuth providersGitHub, Google, and moreAuth Plugin
Route protectionMiddleware-based auth guardsAuthentication Guide

Testing

FeatureDescriptionLearn More
Bun test runnerBuilt-in, fast test executionTesting Guide
Route testingTest loaders, actions, and componentsTesting Guide
Fixture-based testsTemporary route definitions for testingTesting Internals

Deployment

FeatureDescriptionLearn More
Bun (self-hosted)Direct Bun server deploymentBun Deployment
DockerContainerized deploymentDocker
Fly.ioGlobally distributed hostingFly.io
RailwayManaged hosting with auto-deployRailway
VercelEdge deploymentVercel
CloudflareWorkers/Pages deploymentCloudflare

CLI

FeatureDescriptionLearn More
ereo devDevelopment server with HMRCLI Reference
ereo buildProduction build with multiple targetsCLI Reference
ereo startProduction serverCLI Reference
ereo deployPlatform-specific deploymentCLI Reference
ereo dbDatabase migrations and managementCLI Reference

Plugins

FeatureDescriptionLearn More
Tailwind CSSZero-config Tailwind integrationTailwind Plugin
AuthAuthentication and session managementAuth Plugin
ImagesAutomatic image optimizationImages Plugin
Plugin APIBuild your own pluginsPlugin Development

Developer Experience

FeatureDescriptionLearn More
TypeScript-firstNative TS execution, full type safetyTypeScript Guide
Dev inspectorRoute and island overlay in developmentDebugging
Hot module replacementInstant feedback during developmentConfig Reference
VS Code supportExtensions and configurationIDE Setup

Released under the MIT License.