react-native-macos/Libraries/ReactNative
周中原 f5056f844d Update AppRegistry.registerComponent's parameter.
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
2017-05-03 18:01:32 -07:00
..
AppContainer.js Fix passThroughTouches 2017-01-23 11:28:51 -08:00
AppRegistry.js Update AppRegistry.registerComponent's parameter. 2017-05-03 18:01:32 -07:00
I18nManager.js Reorganize core JS files 2016-10-11 10:14:28 -07:00
UIManager.js Moved takeSnapshot method from UIManager to ReactNative 2017-03-25 00:46:54 -07:00
UIManagerStatTracker.js Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
YellowBox.js Add method on YellowBox to ignore warnings 2017-05-02 12:16:00 -07:00
queryLayoutByID.js Reorganize core JS files 2016-10-11 10:14:28 -07:00
renderApplication.js Move BackAndroid -> BackHandler, add Apple TV support for back nav 2017-03-06 21:51:40 -08:00
requireNativeComponent.js Replaced View.propTypes with a static getter that warned about deprecation 2017-03-28 11:32:09 -07:00
verifyPropTypes.js Replaced View.propTypes with a static getter that warned about deprecation 2017-03-28 11:32:09 -07:00