Investigate updating major version of React via @wordpress/data. #6357
Labels
Next Up
Issues to prioritize for definition
P1
Medium priority
Type: Infrastructure
Engineering infrastructure & tooling
Feature Description
Following on from the update to
@wordpress/data
4.27.3 in #6356, which is the latest version of@wordpress/data
that (via@wordpress/element
) supports React 16, we should move on to update the major version of@wordpress/data
, and consequently the major versions of@wordpress/element
and thus React.This issue is for an investigation into which specific version of
@wordpress/data
we can update to, aiming to ensure the upgrade is manageable and avoiding introducing too many breaking changes at once.The most recent version of
@wordpress/data
at the time of writing is 8.0.0, which depends on@wordpress/element
5.0.0 and therefore React 18.2.0. This is obviously a bit of a leap from current versions and it's more likely that a manageable approach would be to first update to a specific@wordpress/data@5
version.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
@wordpress/data
version to update to should be determined. If during the investigation it is found that the update is straightforward it can be done as part of this issue. If not (eg. if the update involves significant engineering effort), a follow-up issue should be created for the update itself.@wordpress/data
, a followup issue, similar to this one, should be created for determining a subsequent upgrade, with a long term view to bringing us as up-to-date as possible.Implementation Brief
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: