[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.
R
Rubén Norte committed
5e9b48778c83dd8b2c63966db3e23abefebe910c
Parent: c44e4a2
Committed by GitHub <noreply@github.com>
on 4/10/2025, 4:35:15 PM