Repository navigation
feat: bump metro from 0.58->0.59 on 4.x - #1351
Merged
thymikee merged 1 commit intoFeb 4, 2021
Merged
Conversation
brentvatne
requested review from
Esemesek,
grabbou and
thymikee
as code owners
January 21, 2021 05:20
thymikee
approved these changes
Jan 21, 2021
thymikee
left a comment
Member
There was a problem hiding this comment.
In my testing this was safe to upgrade and use with 0.63, so I'm down with that, especially if Expo is also to benefit from this change
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.
Summary:
Context in #1348 (comment) and #1348 (comment)
Note that react-native 0.63 (which uses cli@4.x) already uses the 0.59 versions of various metro packages: https://github.com/facebook/react-native/blob/27651720b40cab564a0cbd41be56a02584e0c73a/package.json#L101-L103
Test Plan:
I initialized a new react-native@0.63 project, cherry-picked #1350 on to this branch to test it together with this, and followed the CONTRIBUTING instructions to run the local version of the CLI in the new project. I was able to successfully use this code in App.js: