Skip to content

chore: use React v18 as the default target for development #810

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

Merged
merged 2 commits into from
Mar 31, 2022

Conversation

koba04
Copy link
Member

@koba04 koba04 commented Mar 30, 2022

React v18 has been released 🎉
https://reactjs.org/blog/2022/03/29/react-v18.html

So I've change the default target version of React to v18. But we still test with v16 and v17 on CI, so this won't be a breaking change.
To support React v18, I've updated @testing-library/react and downgrade @testing-library/react for v16 and v17 on CI.

@koba04 koba04 requested a review from eps1lon March 30, 2022 15:01
package.json Outdated
@@ -80,7 +80,7 @@
"@semantic-release/npm": "^7.0.5",
"@storybook/addon-actions": "^6.3.4",
"@storybook/react": "^6.3.4",
"@testing-library/react": "^12.1.4",
"@testing-library/react": "^13.0.0-alpha.6",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just released alpha.7 so it would be nice to use this repo as a canary ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I've addressed this at 62a44b0

@koba04 koba04 merged commit 153d572 into master Mar 31, 2022
@koba04 koba04 deleted the update-react-for-dev branch March 31, 2022 01:00
@github-actions
Copy link

🎉 This PR is included in version 4.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants