This is to experiment bundling React SSR using esbuild. Aim is to use SSR without loadable
and webpack dependency.
- React SSR
- Code Splitting using React.lazy and React.Suspense
- Use
renderToPipeableStream
to support Suspense in server - esbuild Mdx Loader
- styled-components integration
- git clone https://github.com/1995navinkumar/esbuild-react-ssr.git
- cd esbuild-react-ssr
- npm install
- Run
npm dev
andnpm serve
for watch mode - Run
npm build
andnpm serve
for production