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

Update @packages/reporter from React 17.0.2 to 18.3.1 #30511

Closed
AtofStryker opened this issue Nov 1, 2024 · 0 comments · Fixed by #30567
Closed

Update @packages/reporter from React 17.0.2 to 18.3.1 #30511

AtofStryker opened this issue Nov 1, 2024 · 0 comments · Fixed by #30567
Assignees
Labels
Cypress 14 Issues scoped for Cypress 14 pkg/reporter This is due to an issue in the packages/reporter directory

Comments

@AtofStryker
Copy link
Contributor

AtofStryker commented Nov 1, 2024

What would you like?

React 17 has been EOLed for about 2 and a half years. The cypress reporter currently still uses React 16 and will be updated to 17 in #30510. In an effort to update component testing to use React 18 in Cypress 14, a prerequisite is to update the reporter to use react 18.

Why is this needed?

We want to be on a newer version of react and progressively update so we get active support when needed. See https://legacy.reactjs.org/blog/2022/03/29/react-v18.html and https://react.dev/blog/2022/03/08/react-18-upgrade-guide for update details. A known update for us is we need to update the ReactDOM.render method in

Other

See https://github.com/facebook/react/blob/main/CHANGELOG.md#breaking-changes for more details on the breaking changes in react 18

this does NOT include deprecations in react 18, which is scoped to #30574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cypress 14 Issues scoped for Cypress 14 pkg/reporter This is due to an issue in the packages/reporter directory
Projects
None yet
2 participants