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/53112 ## Changelog: [Internal] [Changed] - Cache result when RenderOutput::render() is called Rreviously, root.getRenderedOutput in fantom doesn't really reflect the result of direct manipulation from native animated (see the test case added here). This stack is enabling it. * make RenderOutput an instance owned by TestMountingManager that can cache render result * why is this needed - native animation's direct manipulation should modify the render result (analog to directly manipulating host views on a platform) instead of props on a StubView * here i also make sure that `RenderOutput::render()` will only re calculate the render result for a tree after StubViewTree::mutate is called Reviewed By: andrewdacenko Differential Revision: D79737991 fbshipit-source-id: ee2193b708e319c1519b06bc672054c4f7105da1