Thank you for your interest in contributing to React Native Sortables! Contributions are welcome in the following forms:
- Reporting a bug
- Submitting a fix
- Proposing new features
Bugs and feature requests can be reported through GitHub issues by opening a new issue.
A helpful bug report should include:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
This project uses GitHub to host code, track issues and feature requests, and accept pull requests.
-
Fork the repo and create your branch from
main
-
Clone your forked repo
-
Set up the development environment:
yarn yarn pod # iOS only
-
Start development:
cd example/fabric # or any other example yarn start
Available example apps:
fabric
- React Native Fabric examplepaper
- React Native Paper exampleexpo
- Expo exampleweb
- Web example
You can also run commands from root using
yarn example:<name> <command>
, e.g.:yarn example:fabric start yarn example:paper android yarn example:expo ios
Build and run:
- iOS:
yarn ios
or build in Xcode - Android:
yarn android
or build in Android Studio
-
Make your changes
-
If you've changed APIs, update the documentation
-
Make sure your code passes prettier/eslint/typescript checks
-
Update or create a new example in the example app if applicable
-
Submit that pull request
Tip
All example commands shown above can also be run with the Old Architecture (Paper) example app by replacing example:fabric
with example:paper
in the commands.
For proposing new features or discussing ideas, please use GitHub Discussions. This is a great place to:
- Share your ideas for new features
- Discuss potential improvements
- Ask questions about the library's usage
Before creating a new discussion:
- Check if a similar discussion already exists
- Choose the appropriate discussion category
- For feature proposals: describe the problem and use cases, you can also propose a solution
- For questions: make sure your question is clear and specific
By contributing, you agree that your contributions will be licensed under the MIT License.