-
-
Notifications
You must be signed in to change notification settings - Fork 439
chore: upgrade to React 19, Expo 53, and React Native 0.79.5 #998
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
chore: upgrade to React 19, Expo 53, and React Native 0.79.5 #998
Conversation
package.json
Outdated
}, | ||
"dependencies": { | ||
"invariant": "^2.2.4" | ||
}, | ||
"peerDependencies": { | ||
"expo": ">=52.0.0", | ||
"expo": ">=53.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expo": ">=53.0.0", | |
"expo": ">=52.0.0", |
test/userlandTestExamples.test.js
Outdated
@@ -1,3 +1,4 @@ | |||
/* eslint-disable jest/expect-expect */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's resolve this properly? What error is being reported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see: #998 (comment)
jest.config.js
Outdated
@@ -1,5 +1,5 @@ | |||
module.exports = { | |||
preset: 'react-native', | |||
preset: 'jest-expo', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preset: 'jest-expo', | |
preset: 'react-native', |
let's not mix vanilla RN project with expo
example/e2e/detoxTest.spec.js
Outdated
@@ -1,3 +1,4 @@ | |||
/* eslint-disable jest/expect-expect */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it as eslint was getting tripped up by the test assertions, since they weren't directly inside the test but came from the assertions.js
util file. I silenced the warnings while debugging and forgot to remove them afterwards.
babel.config.js
Outdated
{useTransformReactJSXExperimental: !isLintingOrTesting}, | ||
], | ||
], | ||
presets: ['babel-preset-expo'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep this with vanilla RN babel preset
thank you! |
Summary
Overview
Key Changes
Closes
Test Plan
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
Checklist
README.md
example/App.js
)