Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify JavaScript module naming edge case
Summary: I've been burned by https://stackoverflow.com/questions/35052565/undefined-is-not-an-object-from-native-module-in-react-native/36580178 a few times, when I name a native module with RCT prefix. This will hopefully save me and others from that pain in the future. <!-- Thank you for sending the PR! If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos! Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native. Happy contributing! --> Closes #14903 Differential Revision: D5390343 Pulled By: hramos fbshipit-source-id: 73667d703b097e70e15ff42c54b7ccc6b480104f
- Loading branch information