ssr-create-react-app icon indicating copy to clipboard operation
ssr-create-react-app copied to clipboard

Added Server Side Rendering to Create React App

Server Side Rendering with Create React App

I wanted to add server side rendering to create react app, especially after I added an api server side, based on: https://medium.com/@patriciolpezjuri/using-create-react-app-with-react-router-express-js-8fa658bf892d#.sckywa9cy

Included: redux, react-router

Warning: uses react-router 3, v4 just dropped, it breaks everything its kinda annoying

Install

# Why aren't you using yarn already?
npm i -g yarn
yarn
yarn run build
yarn run start:server