mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
f5056f844d
Summary: Update AppRegistry.registerComponent's second parameter name from "component" to "getComponentFunc". Because the second parameter is NOT a component , it is like ` () => ReactClass<any>;`. Using 'component' will mislead people who use this function. - react-native 4.2 docs: [static registerComponent(appKey, getComponentFunc) ](http://facebook.github.io/react-native/releases/0.42/docs/appregistry.html#registercomponent) - react-native 4.4 docs: [static registerComponent(appKey, component, section?) ](http://facebook.github.io/react-native/docs/appregistry.html#registercomponent) No need to test. Update the parameter name will not mislead the people who use registerComponent. Closes https://github.com/facebook/react-native/pull/13747 Differential Revision: D4994037 Pulled By: javache fbshipit-source-id: 1609d6ff7d63bdc15d7e8e5a94cbf4e029ab427c