A boilerplate for building static sites with Webpack 2, React and React Router
The React Static Boilerplate is a project that is no longer being maintained. It was a boilerplate for building static sites using Webpack, React, and React Router. The project is no longer actively developed as the creator found that Gatsby can fulfill all the requirements and more.
To use the React Static Boilerplate, follow these steps:
git clone https://github.com/iansinnott/react-static-boilerplate my-static-sitecd my-static-site && rm -rf .gitnpm installnpm startnpm run buildnpm install pushstate-server -g followed by pushstate-server buildNote: It is important to run npm run build and not npm build. The latter is a native NPM command that will exit silently.
The React Static Boilerplate is a project that is no longer being actively developed. It provided a boilerplate for building static sites using Webpack, React, and React Router. The project has been discontinued as the creator found that Gatsby can offer more features and fulfill the original requirements. The React Static Boilerplate supported Webpack 2, had a fully mocked client side environment, improved dev server logging, asset fingerprinting for long-term caching, and included the webpack-bundle-analyzer plugin for bundle size analysis. To use the boilerplate, you would clone the repository, install the dependencies, start the development server, write your client-side application, build the project for production, and deploy the generated static HTML files to your preferred hosting solution.