chore(deps): upgrade to React Native 0.86#4996
Conversation
Bump react-native and the @react-native/* presets to 0.86.0. React stays at 19.2.3 and there are no native template changes between 0.85.3 and 0.86.0. Bump react-native-reanimated to 4.4.1 and react-native-worklets to 0.9.2 for RN 0.86 support. In the example, bump react-native-gesture-handler to 2.32.0 (RN 0.86 removed the legacy renderer shim that 2.31.x imported) and align the Expo SDK 56 packages to their latest patch versions.
|
Expo usually only supports specific React Native versions. They can be deeply coupled due to how autolinking works, metro works etc. So we can't bump React Native independently unless Expo mentions that they support the version. Otherwise, we'd be testing with an unsupported setup. If you run |
reanimated 4.x and worklets ship "type": "module" builds with extensionless relative imports, which webpack 5 rejects under its fully-specified ESM rule and breaks the docs build. Disable fullySpecified for just those two packages so their .web.js variants resolve.
Output is: The bump is so we can proceed with the PlatformColor + alpha for ripples. Expo 57.0.0 is currently in canary and I can see that the example app works fine. |
|
@adrcotfas if canary works fine then lets update to it |
|
Expo 57 canary seems to target RN 0.85.3 so we'll have to wait on this. The iOS app is broken with the current changes - Android works fine. |
Bump react-native and the @react-native/* presets to 0.86.0. React stays at 19.2.3 and there are no native template changes between 0.85.3 and 0.86.0.
Bump react-native-reanimated to 4.4.1 and react-native-worklets to 0.9.2 for RN 0.86 support. In the example, bump react-native-gesture-handler to 2.32.0 (RN 0.86 removed the legacy renderer shim that 2.31.x imported) and align the Expo SDK 56 packages to their latest patch versions.
Motivation
RN 0.86 comes with
PlatformColorandalphasupport forPressable. We need this to fully comply with the MD3 specs.Test plan
lint, typescript and tests pass