mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
17e1694076
Summary: There is no reason to allocate views ahead of time on the main thread. There is a chance that this view will not be mounted and we are not saving any time because it's a sequential process anyway (because we are doing it on the main thread). Moreover, the switching context can only slowdown JS execution. Reviewed By: JoshuaGross Differential Revision: D14026379 fbshipit-source-id: 2dbe93ab32b611fae942468e7812b78afeaf34fc