[runtime] Resolve peer dependency issue with react-native-reanimated 2.8 #292
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.
Why
react-native-reanimated
was throwing an issue due to a recent upgrade to 2.8, particularly this issue software-mansion/react-native-reanimated#3111Snack recreating issue (will no longer be relevant once this is merged)
How
react-native-gesture-handler
to~2.4.2
forsnack-sdk
andruntime
, as per TypeError: global.__reanimatedWorkletInit is not a function software-mansion/react-native-reanimated#3111 (comment)Shoutout to @nandorojo and @andreialecu for help in getting this across the finish line
Test Plan
snack-sdk
,snack-content
, andruntime
.expo
inruntime
isLocalWebPreview = true
yarn && yarn build && yarn start
in rootyarn && yarn web
inruntime
https://snack.expo.test
in your browserApp.js
to theApp.js
in yourhttps://snack.expo.test
moti
as a dependency