SSR React
@rapidrest/react renders React pages on the server using a file-convention app directory, in the spirit of Next.js, but wired directly into RapidREST's own server and dependency injection, with no second framework, dev server, or build pipeline to run alongside it.
- Getting Started - install the package, write a layout and a page, and mount it.
- App Directory Convention -
_layout,_404/_500, and how URLs map to page files. - Data Fetching -
fetchProps, and injecting server-side services into a page. - Dev Mode - the
rapidreactCLI and live reload. - Hydration & Production Builds - client-side hydration, the Vite build config, and Redis-backed response caching.