-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump example apps to React Native 0.77 #6768
Merged
Merged
Conversation
This file contains 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
tomekzaw
force-pushed
the
@tomekzaw/react-native-0.77
branch
from
December 17, 2024 17:08
dbab7c3
to
1878fa9
Compare
1 task
kkafar
added a commit
to software-mansion/react-native-screens
that referenced
this pull request
Jan 10, 2025
## Description Adding support for react-native 0.77. After this PR is merged the library will support 0.74+ Paper and 0.77 Fabric. Please note, that I haven't notice any not-handled breaking changes - the library should work with versions down to 0.72 on old architecture and at least down to 0.76 on Fabric, however we won't extend issue resolving to these versions. ## Changes * adjusted example apps on both architectures with changes from upgrade helper, * bumped `safe-area-context` to 5.0.0 (it comes with support for Paper 0.74+) in examples (not lib!), * patched `safe-area-context`: * AppAndFlow/react-native-safe-area-context#566 * Removed patches for and dependencies on reanimated and gesture-handler - awaiting for support, see below 👇🏻 (comment) <-- **this must be restored for e2e to work!!!** * Reanimated uses [the patch](software-mansion/react-native-reanimated#6768 (comment)) * Gesture handler has been set to [current main](https://github.com/software-mansion/react-native-gesture-handler/tree/c3ced78e1608e63b5b3a9bca0c66cc11f4029605) ## Test code and steps to reproduce When doing some quick checks I haven't noticed any obvious regressions. ## Checklist - [ ] Ensured that CI passes --------- Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
tomekzaw
changed the title
Add support for React Native 0.77
Bump example apps to React Native 0.77
Jan 10, 2025
piaskowyk
approved these changes
Jan 13, 2025
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.
Summary
This PR bumps
react-native
in paper-example and fabric-example from0.76.5
to0.77.0-rc.6
(golden RC) accordingly to https://react-native-community.github.io/upgrade-helper/?from=0.76.5&to=0.77.0-rc.6.Apart from this, changes have been made in macos-example, tvos-example and web-example to align versions of common native dependencies so they are hoisted by yarn.
I had to patch
@shopify/flash-list
:getNativeScrollRef
Shopify/flash-list#1041 – fixesscrollTo
exampleChanges required by Reanimated to support RN 0.77 have been moved to separate PRs for the sake of atomicity and transparency:
CoreFeatures.h
include #6875shouldYield
commit option #6876findHostInstanceFastPath
#6884Test plan