mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
fe1057afcd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47520 Right now, when a 3p library needs to register a component in the component system, we have to crawl the library to try and get the mappng, best effort. With this approach, we are enriching the `codegenConfig` property to allow library developers to define the mapping themselves. For example: ```json //... "codegenConfig": { //.. "ios": { "componentProvider": { "RNTMyNativeView": "RNTMyNativeViewComponentView" } } }, ``` means that the JS component `RNTMyNativeView` will be mapped to the `RNTMyNativeViewComponentView` class. This also work for local apps, and it warns the users about what libraries are using the deprecated approach, so they can open an issue or a PR to those libraries. ## Changelog: [iOS][Added] - Allow 3p developers to specify the association between components and classes in Fabric Reviewed By: dmytrorykun Differential Revision: D65666061 fbshipit-source-id: 692e753635873ff9260e131d2d18ed226b2378c2 |
||
---|---|---|
.. | ||
__tests__ | ||
.bundle | ||
android | ||
ios | ||
lib | ||
scripts | ||
.gitignore | ||
.prettierrc.js | ||
.react-native.config | ||
App.jsx | ||
babel.config.js | ||
cli.flow.js | ||
cli.js | ||
Gemfile | ||
Gemfile.lock | ||
index.js | ||
jest.config.js | ||
metro.config.js | ||
package.json | ||
README.md |
Hello World Test Application
This is the React Native HelloWorld test app. It is for internal use and shouldn't be dependend on.