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

Remove React 17 requirement for certain features #7489

Closed
westonruter opened this issue Mar 16, 2023 · 1 comment · Fixed by #7490
Closed

Remove React 17 requirement for certain features #7489

westonruter opened this issue Mar 16, 2023 · 1 comment · Fixed by #7490
Labels
Changelogged Whether the issue/PR has been added to release notes. Enhancement New feature or improvement of an existing one
Milestone

Comments

@westonruter
Copy link
Member

Feature Description

Let's undo aspects of #7421 which made certain services dependent on React 17. As seen in the below Make/Core post, any React 17 code will continue to work with React 18 by invoking a legacy API:

image

In particular, this is considering the following line (at least):

( $react instanceof _WP_Dependency && version_compare( $react->ver, '18', '<' ) )

Related: #7394

Acceptance Criteria

No response

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

@thelovekesh
Copy link
Collaborator

QA Passed ✅

See #7490 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes. Enhancement New feature or improvement of an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants