Skip to content

Commit

Permalink
Upgrade to react-native 0.66 (expo#15914)
Browse files Browse the repository at this point in the history
# Why

follow up expo#15817 (comment)
after we use the react-native from npm, the react-native version we used in expo-go is decoupled with other stuffs. that makes us upgrade react-native easier.

# How

1. update versions in package.json
2. sync changes from [react-native-upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.64.2&to=0.66.4)
3. `RCTComponentData` changed its designated initializer in react-native 0.65. to make it compatible with older version, i introduced the `EXComponentDataCompatibleWrapper` class to support different versions.
4. [react-native-lab] to fix expo-go build error, we should patch react-native to use the codegen library from its repo but not from node_modules:  expo/react-native#29.

# Test Plan

- CI passed
- bare-expo build & launch test
- unversioned expo-go build & launch test
  • Loading branch information
Kudo committed Jan 20, 2022
1 parent 09d31bf commit 64395fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"path-to-regexp": "^1.8.0",
"prop-types": "^15.7.2",
"querystring": "^0.2.0",
"react": "17.0.1",
"react-native": "0.64.3",
"react": "17.0.2",
"react-native": "0.66.4",
"react-native-appearance": "~0.3.4",
"react-native-fade-in-image": "^1.6.1",
"react-native-gesture-handler": "~2.1.0",
Expand Down

0 comments on commit 64395fc

Please sign in to comment.