mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44131 Stub tree creation is using an old differentiator path we aren't shipping today. This removes that path, so that we can unit test the new one 1. Remove `ForTesting`/`Legacy` functions 3. Update stub view tree code for API/behavior difference of new differentiator functions including unflattened views. Don't create view instructions for those, and use `mountIndex` instead of pair index 4. Remove `V2` suffix, since the old path is deleted 5. Move mounting stub test utils out of the production library Changelog: [Internal] Reviewed By: joevilches Differential Revision: D56227426 fbshipit-source-id: 0f525097cfb576e0228c9ca20a770fa41ddf1e0d