dillon1000/react

Commit

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
Browse files
Changed paths1 file
First-parent comparison
M packages/react-native-renderer/src/ReactFiberConfigFabric.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…