Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.59 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.59 KB

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 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 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 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
  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.