react-native/Libraries/ReactNative
Eli White dbdf43b428 propTypes are optional for native components
Summary:
We plan to migrate native components like View, Text, and Image to be typed with Flow instead of propTypes so that we can better enforce our usages.

This change makes it so that *if* propTypes are defined they must cover the native props. However, if they aren't specified, the validation doesn't occur.

Eventually, the prop validation should occur via codegen that generates an interface the native component must implement from the flow types defined in JS.

Reviewed By: yungsters

Differential Revision: D7203649

fbshipit-source-id: a8095aa46807ce03272e2962289e8f5705b422b9
2018-03-08 15:56:09 -08:00
..
AppContainer.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
AppRegistry.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
FabricUIManager.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
I18nManager.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIManager.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIManagerStatTracker.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
YellowBox.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
queryLayoutByID.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
renderApplication.js Replaced unstable_AsyncComponent with unstable_AsyncMode 2018-02-20 17:46:53 -08:00
renderFabricSurface.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
requireFabricComponent.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
requireNativeComponent.js @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
verifyPropTypes.js propTypes are optional for native components 2018-03-08 15:56:09 -08:00