dbdf43b428
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 |
||
---|---|---|
.. | ||
AppContainer.js | ||
AppRegistry.js | ||
FabricUIManager.js | ||
I18nManager.js | ||
UIManager.js | ||
UIManagerStatTracker.js | ||
YellowBox.js | ||
queryLayoutByID.js | ||
renderApplication.js | ||
renderFabricSurface.js | ||
requireFabricComponent.js | ||
requireNativeComponent.js | ||
verifyPropTypes.js |