An open API service indexing awesome lists of open source software.

https://github.com/chantastic/react-cheat-sheet

A filterable React.js reference site
https://github.com/chantastic/react-cheat-sheet

Last synced: 2 months ago
JSON representation

A filterable React.js reference site

Awesome Lists containing this project

README

          

# React Cheat Sheet
[![CircleCI](https://circleci.com/gh/chantastic/react-cheat-sheet.svg?style=svg)](https://circleci.com/gh/chantastic/react-cheat-sheet)
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors)

## Contributing

### Setup

`react-cheat-sheet` is a pretty standard [create-react-app](https://github.com/facebookincubator/create-react-app) app. If you're fimiliar with a CRA app, everything should make sense.

#### Clone, setup, and run the project
```bash
git clone https://github.com/chantastic/react-cheat-sheet.git
cd react-cheat-sheet
yarn
yarn start
```

### Yarn scripts

| Command | Description |
| --- | --- |
| `start` | starts a webpacks sever at [`localhost:3000`](localhost:3000) |
| `test` | runs tests using [Jest](https://facebook.github.io/jest/) |
| `prettier`| reformats all code using [prettier](https://github.com/prettier/prettier) |
| `add-contribs` | adds a contributer to [all-contributorsrc](./.all-contributorsrc) |
| `generate-contribs` | generates a list of contributors on the [README](./README.md) |

### Minor changes
Changing an example is easy.

Find the file with the error and click the Pencil button (`Edit this file`).
Make your changes and commit in the browser.
Github will do the rest for you.
I'll get notified and the change will be fixed on the next deploy.

### Major changes
* Fork
* Make Change
* Run `yarn add-contribs` add yourself as a contributer.
* Run `yarn generate-contribs` to generate an updated README.
* PR back into `chantastic:master`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):



Michael Chan



Jon Stuebe



Ted Pennings



James Miller



Eugene Zhlobo



Dan Abramov



Alexander Burtsev





Shrayas Rajagopal



Christopher Miller


This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!