A progressive static-site generator for React.
React-Static is a fast, lightweight, and powerful framework for building static-progressive React applications and websites. It's been carefully designed to meet the highest standards of SEO, site performance, and user/developer experience.
$ yarn global add react-static # or $ npm install -g react-static
$ react-static create
$ cd my-static-site
$ yarn start # or react-static start
$ yarn stage # or react-static build --staging $ yarn serve
$ yarn build # or react-static build
Once you've installed and test driven sufficiently, you may want to:
All of the following examples can be used as a template at project creation.
Can't find an example? We invite you to write one! Simply copy the
blank templates and make the necessary changes. Then submit a PR including your new example directory and a new item in the list above. When merged, your example will automatically become a template in the CLI. How magical!
Need some help? Have a quick question? Click here to sign up for the React-Tools spectrum community! We are constantly answering questions, discussing features and helping each other out!
We are always looking for people to help us grow
react-static's capabilities and examples. If you have an issue, feature request, or pull request, let us know!
React Static uses the MIT license. For more information on this license, click here.