Skip to content

dpostolachi/react-serverside-render-example

Repository files navigation

react-serverside-render-example

This is an example of React Server Side Rendering with Koa as Server, Redux and React-router, it does asynchronus actions before rendering and passes server side state to html so it can be setted as initial state for redux in client, it requires Node.js V.8+ for async functions. It has a webpack config that handles stylus and css files and that generates the client script for handling react components.

NPM Scripts:

web - for running server.

prod - for running server in production.

buid - builds client script for production.

watch - runs webpack watch in development.

Releases

No releases published

Packages

No packages published