mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d8bacc28f6
Summary: This diff adds a testing screen dev route to the facebook app for testing generated view configs It's not pretty (i have 0 tetra experiance) but it gets the job done There are three cases handled: - No generated config � - Invalid generated config (useful for dev) � - Valid generated config � On the description page we: - Redbox it it's invalid (this could be used to redbox test all host components) - Show diffs of the view config properties - List all of the generated config properties - List all of the native config properties Using this tool, it's easy to see what the current config on native is, add correct flow types for the generated config, and validate the generated config Coming later: adding all of the native configs to the list (will probably need filtering) Reviewed By: cpojer Differential Revision: D15683033 fbshipit-source-id: 5a566a56bef4f3f0bac3ea581c2e6acb2b9984e3