mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Put `prepareForRecycle` to last before enqueue to recycle pool, ensure only call it when count lower than RCTComponentViewRegistryRecyclePoolMaxSize. cc. shergin . [General] [Changed] - Reorder prepareForRecycle before adding recycle pool Pull Request resolved: https://github.com/facebook/react-native/pull/24025 Differential Revision: D14536843 Pulled By: shergin fbshipit-source-id: 82a816e2c0afb5a6bb72637d7d55d6a4fda708af