https://github.com/dpostolachi/react-serverside-render-example
This is an example of React Server Side Rendering
https://github.com/dpostolachi/react-serverside-render-example
example koa koajs react react-router react-server-render redux server-side-rendering
Last synced: 4 months ago
JSON representation
This is an example of React Server Side Rendering
- Host: GitHub
- URL: https://github.com/dpostolachi/react-serverside-render-example
- Owner: dpostolachi
- Created: 2017-06-19T14:14:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-23T18:16:15.000Z (almost 8 years ago)
- Last Synced: 2025-01-06T02:28:12.226Z (6 months ago)
- Topics: example, koa, koajs, react, react-router, react-server-render, redux, server-side-rendering
- Language: JavaScript
- Size: 1.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.