All work on React Native ART happens directly on GitHub. Contributors send pull requests which go through review process.
Working on your first pull request? You can learn how from this free series: How to Contribute to an Open Source Project on GitHub.
- Fork the repo and create your branch from
master
(a guide on how to fork a repository). - Run
yarn
ornpm install
to install all required dependencies. - Now you are ready to do the changes.
You can test your changes by installing example
app on a simulator or device:
Installing on iOS:
- Run
yarn ios
or
- Open
example/ios/example.xcodeproj
- Click
run
in the top left corner ofXcode
.
Installing on Android:
- Connect Android Device or open Android Emulator
- Run
yarn android
Currently we use flow for typechecking, eslint with prettier for linting and formatting the code and jest for testing.
yarn flow
: run flowyarn lint
: run eslint and prettieryarn test
: run unit tests
When you're sending a pull request:
- Prefer small pull requests focused on one change.
- Verify that flow, eslint and all tests are passing.
- Preview the documentation to make sure it looks good.
- Follow the pull request template when opening a pull request.
You can report issues on our bug tracker. Please follow the issue template when opening an issue.
By contributing to React Native ART, you agree that your contributions will be licensed under its MIT license.