Add supportsViewTransition host config flag#662
Conversation
Greptile SummaryAdds a
Confidence Score: 2/5
Important Files Changed
|
d612573 to
db2eee7
Compare
…n out of ReactFiberConfigWithNoMutation
db2eee7 to
6d2b648
Compare
|
Upstream PR was closed or merged. Code is synced via branch mirror. |
Mirror of facebook/react#35965
Original author: zeyap
Summary
supportsViewTransitionhost config flag (likesupportsMutation,supportsHydration) so the reconciler can check renderer capability directlyReactFiberConfigWithNoMutation.jsinto a newReactFiberConfigWithNoViewTransition.js!supportsMutation && !supportsPersistencechecks in the reconciler with!supportsViewTransitionsupportsViewTransition = truefor DOM and Fabric renderers,falsefor Native (paper), ART, and test-rendererTest plan
yarn flowfor dom-node, fabric, native renderers