A JavaScript project for static websites that runs on both the client & server.
Using webpack to render a website statically, and react-router to switch between pages dynamically all the code use ES6.
✓ Generates static .html pages from React components
✓ ES6 with Babel
✓ Sass syntax for CSS
✓ Bundling with Webpack
Just clone the repo, install Node.js modules and run npm start:
$ git clone https://github.com/jeblister/universal-static-render.git MyApp
$ cd MyApp
$ npm install
$ npm start
Then open http://localhost:8080/ in your browser.
Open an Issue
- Server/Client With React, Part 1: Getting Started
- Server/Client With React, Part 2: The Build System
- Server/Client With React, Part 3: Frontend Server
- Server Side Rendering for ReactJS
- React Server Rendering
- JDK8 + Facebook React: Rendering single page apps on the server
- Server-side React with PHP – part 1
- Server-side React with PHP – part 2
- Server-rendered React components in Rails
MIT