Giter VIP home page Giter VIP logo

react-static's Introduction

React Static v6 is under active development on the v6 branch! The docs below are for the stable 5.x.x version.

React Static Logo

Travis CI Build Status David Dependancy Status npm package v npm package dm Join the community on Spectrum Github Stars Twitter Follow



React Static

A progressive static-site generator for React.

Read the introduction article on Medium

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.

Sponsored By GraphCMS

Features

  • โš›๏ธ 100% React (or Preact!)
  • ๐Ÿš€ Blazing fast builds and performance.
  • ๐Ÿšš Data Agnostic. Supply your site with data from anywhere, however you want.
  • โœ‚๏ธ Automatic code and data splitting for routes!
  • ๐Ÿ’ฅ Instant page views via PRPL pattern.
  • ๐ŸŽฏ Built for SEO.
  • ๐Ÿฅ‡ React-first 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 in real-time.
  • ๐Ÿ“ฒ LAN accessible dev environment for testing on other devices like phones and tablets.

Videos & Tutorials

Sites Built with React-Static

Quick Start

  1. Install the CLI:
$ yarn global add react-static
# or
$ npm install -g react-static
  1. Create a new project:
$ react-static create
  1. Pick a template! See the full list of templates
  2. Navigate to your new project:
$ cd my-static-site
  1. Start the dev server and edit some code!
$ yarn start # or react-static start
  1. Test a production build
$ yarn stage # or react-static build --staging
$ yarn serve
  1. Build for production!
$ yarn build # or react-static build

Once you've installed and test driven sufficiently, you may want to:

Examples and Templates

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 basic or 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!

Documentation

Core Concepts

API Reference

Changelog

Contributing Guide

Chat with us on the React Static Spectrum community!

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!

Contributing

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!

License

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

react-static's People

Contributors

24dev avatar arlair avatar balvajs avatar calvinrbnspiess avatar chrisbrown-io avatar cinamonas avatar corydeppen avatar crubier avatar d1no avatar danilobuerger avatar danwebb avatar deden avatar denis-sokolov avatar emiltholin avatar eruby94 avatar hellojere avatar hhsnopek avatar hmeissner avatar hql287 avatar jasonlafferty avatar jonarod avatar knpwrs avatar lottamus avatar mjsisley avatar nembus avatar reggino avatar rywils21 avatar tannerlinsley avatar viliamkopecky avatar whmountains avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.