Skip to content

ehellman/cra-ssr-bootstrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cra-ssr-bootstrapper

A non-compromising way to enable server side rendering on create-react-app without ejecting.

Features that work out of the box include:

  • Code splitting
  • Server rendered CSS (styletron)
  • Preloaded server state
  • Routing (react-router)

Up and running

npm run ssr builds the app, transpiles server code and starts Node.

Fixes to do before 1.0

  • Create server bundle instead of transpiling to be able to include assets such as PNG.
  • Documentation that describes which files to copy into a create-react-app directory and which dependencies to add.
  • Increase example project to have several code split routes
  • Enable NODE_PATH=src/ so that absolute paths can be used

About

An SSR bootstrapper for create-react-app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published