Skip to content

fabienhebert/react-redux-universal-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-redux-universal-starter (In progress)

This application provides an universal rendering (the ability to render on server-side too, improve the SEO and the UX in first render). The idea is to keep the stack simple and easy to maintain. The following technologies are used :

How it works

The main idea is you gonna use a classic client-side only for the development phase using webpack-sere combine to react-hot-loader to update components without complete reloading (especially keeping the state).

For a production mode, just build the client and the server. Then the server powered by express will provide a server side rendering and assets access. If there is no JS (some SEO engine for example), everything is fine, express will handle every routes access. Otherwise the bundle will be fetch, and React will take over the control.

Usage

Install
git clone [email protected]:Exayy/react-redux-universal-starter.git
cd react-redux-universal-starter
npm install
Development
npm run dev
Prod
npm run build:client & npm run build:server
npm run prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published