https://github.com/react-native-web-community/contributing
How to contribute and add new implementations
https://github.com/react-native-web-community/contributing
Last synced: over 1 year ago
JSON representation
How to contribute and add new implementations
- Host: GitHub
- URL: https://github.com/react-native-web-community/contributing
- Owner: react-native-web-community
- Created: 2017-10-03T10:14:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T19:07:20.000Z (over 8 years ago)
- Last Synced: 2025-01-10T15:23:06.126Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Contributing to React Native for Web Community
Hello, we're glad that you want to contribute to this community!
Please read the following carefully and feel free to ask us questions in the issues. :)
## I want to add my existing repository to react-native-web-community
1. Contact one of the [existing team members](https://github.com/orgs/react-native-web-community/people) and ask to be added to the organization
2. Transfer your repository to `react-native-web-community` (Settings -> end of the page -> Transfer ownership)
3. It's best if you have a [Storybook](https://github.com/storybooks/storybook) setup
4. Spread the word!
## I want to create a new repository to react-native-web-community
1. Contact one of the [existing team members](https://github.com/orgs/react-native-web-community/people) and ask to be added to the organization
2. Create the repository, following the convention `react-native-web-{name}`
3. Inspire you from existing repositories if you don't know how to setup the repo
* Configure the package.json
* Add minimal dependencies
* Add a minimal storybook
* Add a README
* You can also clone this [example repository](https://github.com/react-native-web-community/example-new-library)
4. Make sure to treat the target module as an interface, and try to implement every props that makes sense for the web
5. Sometimes, you have to add web-specific props, try to avoid that at the maximum, and document these props carefully
6. (If mocking a RN module) Raise an issue on the original module repository to ask if the web version could be directly integrated into the original module.