mirror of
https://github.com/facebook/react.git
synced 2026-02-25 13:13:03 +00:00
997 B
997 B
Before submitting a pull request, please make sure the following is done:
- Fork the repository and create your branch from
master. - Run
yarnin the repository root. - If you've fixed a bug or added code that should be tested, add tests!
- Ensure the test suite passes (
yarn test). Tip:yarn test --watch TestNameis helpful in development. - Run
yarn test-prodto test in the production environment. It supports the same options asyarn test. - If you need a debugger, run
yarn debug-test --watch TestName, openchrome://inspect, and press "Inspect". - Format your code with prettier (
yarn prettier). - Make sure your code lints (
yarn lint). Tip:yarn lincto only check changed files. - Run the Flow typechecks (
yarn flow). - If you haven't already, complete the CLA.
Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html