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 · 1 comment · Fixed by #30567
Closed

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

AtofStryker opened this issue Nov 1, 2024 · 1 comment · 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

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 16, 2025

Released in 14.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v14.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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