Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps the examples and the library dev dependencies to React Native 0.88.1 with React 19.3.0, Expo SDK 58, Reanimated 4.7.2, Worklets 0.13.0 and gesture-handler 3.5.0 (plus screens, safe-area-context, svg, the jest / babel / metro presets and the Android Gradle toolchain that 0.88 requires). They have to move together, as there is one hoisted React Native copy.
The library peer dependency ranges are not changed and no library source file is changed.
Things the bump required:
react-native-reanimated/jest/resolver.jsreplaces the worklets jest resolver (ships with Reanimated 4.7),react-native-legacy-deep-imports); migrating the affected places (4 in the library and a few in the example app) can be a follow-up,react-native-web0.21.4 (0.88 no longer ships@react-native/assets-registry),MainApplication.ktfrom the 0.88 template,Info.plist(0.88 treats an app without it as a non-scene app and crashed on launch), regeneratedPodfile.lock,babel.config.cjsis renamed tobabel.config.js. The 0.88 Babel transformer does not detect the.cjsname and then inlines the platform of the first bundle into the bundles of every platform served by the same Metro.With this change every example except
example/paperruns gesture-handler v3, so v2, Reanimated 3 and the old architecture are covered only by the paper example and the unit tests. With #638, which removes that example, only the unit tests of the v2 adapter (with a mocked gesture-handler) are left.The Expo example pins gesture-handler 3.5.0 and Reanimated 4.7.2, while Expo SDK 58 bundles
~3.3.0and 4.7.1, so it is meant for development builds, not for Expo Go.Should be merged after #638 and #645: the paper example keeps its
babel.config.cjsand would get the problem described above, and React Native 0.88 and Metro 0.87 require Node 22. The lockfile conflicts with #638 and #657, so it has to be regenerated withyarn installonce they are merged.Testing
yarn test,yarn typecheck,yarn lint,yarn format:check, the web export,expo export --platform allandexpo-doctor(as run on CI) pass. The fabric example was built and run on the iOS simulator and the Android emulator from one Metro: adding, removing, shuffling, sorting and dragging items in the grid work on both.Not checked: release builds, the expo example on a device or in Expo Go, an iOS build on the Xcode version used on CI, and the web example in a browser.
Build Example Appsdoes not run on pull requests, so it needs a manual run on this branch.