react/scripts/flow
Rubén Norte 5e9b48778c
[RN] Map Fabric priorities to reconciler priorities correctly (#32847)
## Summary

This fixes how we map priorities between Fabric and the React
reconciler. At the moment, we're only considering default and discrete
priorities, when there's a larger range of priorities available.

In Fabric, we'll test supporting additional priorities soon. For that
test to do something useful, we need the new priorities to be mapped to
reconciler priorities correctly, which is what this change is done.

> [!IMPORTANT]
> At the moment, this is a no-op because Fabric is only reporting
default and discrete event priorities.

## How did you test this change?

Will test e2e on React Native on top of
https://github.com/facebook/react-native/pull/50627

The changes are gated in React Native, so we'll use that feature flag to
test this.
2025-04-10 17:35:15 +01:00
..
config [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
createFlowConfigs.js [flow] Remove CI_MAX_WORKERS option 2024-08-20 12:38:27 -04:00
environment.js Rerender useSwipeTransition when direction changes (#32379) 2025-02-20 18:13:09 -05:00
react-devtools.js chore[DevTools]: make clipboardWrite optional for chromium (#32262) 2025-01-30 20:08:17 +00:00
react-native-host-hooks.js [RN] Map Fabric priorities to reconciler priorities correctly (#32847) 2025-04-10 17:35:15 +01:00
runFlow.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
xplat.js Update RN dynamic flag types (#28427) 2024-03-22 12:23:38 -04:00