mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 06:38:13 +00:00
Summary: For better modularity, each module conforming to RCTTurboModule should provide a getter for the specific TurboModule instance for itself. This is a bit more extra work for devs, but simplify tooling and allow better modularity vs having a central function that provides the correct instance based on name. Note: Android may or may not follow this new pattern -- TBD. Reviewed By: RSNara Differential Revision: D13882073 fbshipit-source-id: 6d5f82af67278c39c43c4f7970995690d4a82a98