All Projects → react-static → React Static

react-static / React Static

Licence: mit
⚛️ 🚀 A progressive static site generator for React.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
CSS
56736 projects

Projects that are alternatives of or similar to React Static

Staticgen
Static website generator that lets you use HTTP servers and frameworks you already know
Stars: ✭ 628 (-93.69%)
Mutual labels:  static-site-generator, static-site, static
Blended
The Most Versatile Static HTML Site Generator
Stars: ✭ 22 (-99.78%)
Mutual labels:  static-site-generator, static, static-site
Hugo Theme Basic
Basic site theme styled with minimal tachyons, syntax highlighting, and blog series configuration. 📦
Stars: ✭ 89 (-99.11%)
Mutual labels:  static-site-generator, static-site
Jmmasw
Just make me a static website
Stars: ✭ 13 (-99.87%)
Mutual labels:  static-site-generator, static-site
Ng Static Site Generator
ng-static-site-generator is a webpack-based command line build tool that builds an Angular app and Jekyll-style blog entry html files into a static html and css website. It also supports building a client app so you can have static pages that are also capable of running dynamic functionality coded in Angular.
Stars: ✭ 42 (-99.58%)
Mutual labels:  static-site-generator, static-site
Thenewdynamic.org
Resources for Designers and Developers using the JAMstack
Stars: ✭ 24 (-99.76%)
Mutual labels:  static-site-generator, static
Generator Infinitely Static
💫 Static page generator with routes support thats infinitely awesome
Stars: ✭ 11 (-99.89%)
Mutual labels:  static-site-generator, static-site
Gatsby Theme Try Ghost
A Gatsby theme to build flaring fast blogs from headless Ghost CMS
Stars: ✭ 88 (-99.12%)
Mutual labels:  static-site-generator, static-site
Microsite
Do more with less JavaScript. Microsite is a smarter, performance-obsessed static site generator powered by Preact and Snowpack.
Stars: ✭ 632 (-93.65%)
Mutual labels:  static-site-generator, static-site
Hugo Boilerplate
A Hugo boilerplate for building modern websites
Stars: ✭ 58 (-99.42%)
Mutual labels:  static-site-generator, static-site
Awesome Web Cv
📝 Single Page Web Application for Your Outstanding CV
Stars: ✭ 50 (-99.5%)
Mutual labels:  static-site-generator, static-site
Elderjs
Elder.js is an opinionated static site generator and web framework for Svelte built with SEO in mind.
Stars: ✭ 1,102 (-88.92%)
Mutual labels:  static-site-generator, static-site
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (-21.35%)
Mutual labels:  static-site-generator, static
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Stars: ✭ 752 (-92.44%)
Mutual labels:  static-site-generator, static-site
Ryosuke Gatsby Blog
Static PWA React-powered portfolio and blog built with GatsbyJS
Stars: ✭ 90 (-99.1%)
Mutual labels:  static-site-generator, static-site
Forty Jekyll Theme
A Jekyll version of the "Forty" theme by HTML5 UP.
Stars: ✭ 695 (-93.01%)
Mutual labels:  static-site-generator, static-site
Shoebill
Web-based editor for Pelican and Nikola
Stars: ✭ 30 (-99.7%)
Mutual labels:  static-site-generator, static-site
Netlify Cms React Starter
A starter project for creating lightning-fast, offline-first websites with Netlify-CMS and React
Stars: ✭ 78 (-99.22%)
Mutual labels:  static-site-generator, static-site
Headlesscms.org
Source for headlesscms.org
Stars: ✭ 628 (-93.69%)
Mutual labels:  static-site-generator, static-site
Awesome Jamstack
Carefully curated list of awesome Jamstack resources
Stars: ✭ 1,012 (-89.83%)
Mutual labels:  static-site-generator, static-site

React Static Logo

Travis CI Build Status npm package v npm package dm Github Stars Twitter Follow



You are viewing the docs for v7 of React Static. You can browse all historical versions via Github branches!

React Static

A progressive static-site generator for React.

React-Static is a fast, lightweight, and powerful progressive static site generator based on React and its ecosystem. It resembles the simplicity and developer experience you're used to in tools like Create React App and has been carefully designed for performance, flexibility, and user/developer experience.

Features

  • ⚛️ 100% React (and friends!)
  • 🚀 Blazing fast builds and performance.
  • 🚚 Data Agnostic. Supply your site with data from anywhere, however you want!
  • ✂️ Automatic code and data splitting!
  • 💥 Instant navigation and page views
  • ☔️ Progressively Enhanced and mobile-ready
  • 🎯 SEO Friendly.
  • 🥇 React-centric developer experience.
  • 😌 Painless project setup & migration.
  • 💯 Supports 100% of the React ecosystem. Including CSS-in-JS libraries, custom Query layers like GraphQL, and even Redux.
  • 🔥 Hot Reloadable out-of-the-box. Edit React components, styles and even data in real-time.

Sites Built with React-Static

See a list of sites

Quick Start

  • Install the CLI tool:
$ npm i -g react-static
# or
$ yarn global add react-static
  • Start a new project!
$ react-static create
  • Need some help?
$ react-static --help

Documentation

Migration from a previous version?

The CHANGELOG contains information on breaking change for each major version. The latest breaking changes along with their migration tips are located here

What is a progressive static site?

A progressive static site is a website where every statically exported HTML page is an entry point to a fully-featured automatically-code-split React application. Just like a normal static site, static progressive websites are capable of loading initial landing pages very quickly, but then extend the user experience by transforming invisibly into a single-page React application.

Once a progressive static site page has loaded its React application it can then do amazing things!

  • Prefetch page assets
  • Instantly navigate between pages
  • Provide interactivity not possible in normal static sites
  • Subscribe to and display real-time and dynamic data
  • Anything you can imagine within a React application!

How does it work?

Flow Chart

React Static gathers your data, and templates together and intelligently splits them into bite-size static files using webpack and javascript. Once these files have been generated, React Static uses them to render and export a list of routes that you provide it into HTML files! After your site has been exported, the resulting data, template, and html files can be transfered to a static file server and browsed as an awesomely fast and performant static website!

But remember, a progressive static site is more than that...

Little did you know that when React Static exported your site, it also generated a tiny, optimized, and code-split version of your original React application for every page of your site! After these pages have loaded, React invisibly mounts this application to the existing HTML on the page and... 🎉🎉🎉 You are now using the single page React application you originally built! This application is special, though! While you browse your website, pages that you might go to next are automatically preloaded, making navigation to them instantaneous!.

That's just the beginning! With React Static, you can unleash your creativity and build anything you can imagine with speed and productivity. It even has awesome plugins that will help you on your journey!

Coming from Create React App?

React Static is also a great replacement for the ever popular Create React App CLI. It provides a similar developer experience, zero-config environment, and features, but without boxing you in. If you ever need to customize your build system in React Static, there is no need to eject! You can use existing plugins or write your own to customize anything you'd like about the build system. Not building a static site? No worries there, React Static works as an SPA too, even if there is only a single index.html file.

Articles, Videos & Tutorials

Support, Community & Chat

Need some help? Have a quick question? Click here to go to GitHub Discussions! We are constantly answering questions, discussing features and helping each other out!

Contributing, Issues & Bugs

We are always looking for people to help us grow react-static's capabilities and examples. If you have found a bug, or have a feature request let us know! Please follow CONTRIBUTING.md if you want to help out.

License

React Static uses the MIT license. For more information on this license, click here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].