Skip to content
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

React Version Upgrade to V18 #818

Open
harsh183 opened this issue Jun 8, 2024 · 0 comments
Open

React Version Upgrade to V18 #818

harsh183 opened this issue Jun 8, 2024 · 0 comments

Comments

@harsh183
Copy link
Member

harsh183 commented Jun 8, 2024

V16 is still widely used today so we don't need to rush this yet, but 18 improves the rendering experience a lot with batching, prioritization and concurrency as well as providing new Hooks and APIs. Plus, the usual security updates, reduced tech debt and nicer versions of many libraries.

It's been out for quite a while now, so it's quite safe to upgrade but we should probably gradually go from 17 (intended as a stepping stone release) to 18. DvaJS should also be potentially fine here dvajs/dva#2515 (translated), looks like they just recently released support for React 18.

In terms of testing, react testing library can bump up to v14 from v12 (https://www.npmjs.com/package/@testing-library/react?activeTab=versions), and most of our current test harness should work fine from there.

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

No branches or pull requests

1 participant