dillon1000/react
Commit
Browse files Add null check before calling fabricSuspendOnActiveViewTransition (#36310)
## Summary - Adds a null check before calling `fabricSuspendOnActiveViewTransition()` in the Fabric renderer's `suspendOnActiveViewTransition` export - Prevents crashes on hosts where `nativeFabricUIManager` does not yet implement `suspendOnActiveViewTransition` ## Test plan - Verified the change compiles correctly - Hosts with `suspendOnActiveViewTransition` implemented continue to work as before - Hosts without `suspendOnActiveViewTransition` no longer crash when view transitions are active
Changed paths1 file
First-parent comparisonpackages/react-native-renderer/src/ReactFiberConfigFabric.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…