React Static Plate
- Hot Reloading.
- Every route is completely rendered into a
- Deferred script loading, so the browser can render the html without waiting for the js bundle first.
- Hash is added to every asset's filename, so you can cache all assets forever.
- Title, Meta and other SEO tags with react-helmet.
- Generates sitemap.xml
Fork the repo, install the node modules and run the dev server:
$ npm install $ npm start
Open http://localhost:3000 & have fun.
package.json and generate all the static files with
npm run build. Then upload the contents of the
build/ folder to your hosting solution of choice. Finish!
You can also check out the production build on your local machine using
$ npm install -g http-server $ cd build $ http-server
My site is not working properly on Amazon S3:
Make sure you define paths with trailing slashes, like
My site is not working properly on Github Pages:
Make sure you define paths without trailing slashes, like