Skip to content
effective-rsc
DocumentationIndex

Application

Application.ersc<Services>() creates one application-scoped ERSC identity and its base authoring view. Services is the complete server-service union; omit it for a service-free application.

ERSC.make({ routes, layer }) closes the route graph and application runtime. Export its result from src/application.tsx. layer is required unless Services is never; it may provide the declared services and register native Effect HTTP on the framework router.