Demo code for Server Side Rendering and Code Splitting in a create-react-app.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
This is a sample app to demonstrate how you can achieve both Server Side Rendering and Code Splitting in a create-react-app. It supports the mini-series I've wrote on Medium about this topic:
Just install dependencies, build the app and run the express server:
yarn install yarn run build yarn run server
NO! This repo exists only to demonstrate how to achieve SSR and Code Splitting at the same time.
But... Why? --- The server app is as slim as it can get. It lacks even the most basic security features like XSS and CSRF.
This is not a boilerplate for a production expressjs server app!!!