mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5b19464b81
Summary: This implement new <UnimplementedView> (only for iOS for now) that relies on the new "reactive component registration" functionality. The `UnimplementedView` component is the perfect example of that. It's simple and uniquely required some constraints that we want to implement: the same component class registered several times with different handles and names. This change serves two needs: 1. Providing an example of how that functionality can be used in more complex cases. 2. That will allow removing some `UnimplementedView`-specific code from the core (and very hot pathes of the system) and make them `noexcept`. That will eventually allow removing some public APIs from RawValue (constructing from folly::dynamic) that currently impose some implementation details and probably prevent us from making it slightly faster. There are only two consumers of this API, this is one of them. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D17211913 fbshipit-source-id: df1a1ac1a36289ef79904d509d38ee8b3f5588fb