Similar to what we had done a couple years ago (
|
"react": "^16.8 || ^17 || ^18", |
) where we supported versions 16-18 of React at once, we should test whether we can safely support versions 17-19 of React so that consumers could at least leverage React 19 features.
Could be worth looking at the work to support React 18 a couple years ago
From a planning doc regarding React 19:
- Create a new branch for react repo and pull in react 19 dependencies.
- Review components and determine what components need updates.
- Contact testers to import this pre-release to find bugs.
- Determine if we can maintain 17, 18 and 19 until a breaking change release.
Note: If this is possible may also limit what new features we can adopt if we cannot ensure backwards compatibility.
Similar to what we had done a couple years ago (
patternfly-react/packages/react-core/package.json
Line 70 in db0cdde
Could be worth looking at the work to support React 18 a couple years ago
From a planning doc regarding React 19:
Note: If this is possible may also limit what new features we can adopt if we cannot ensure backwards compatibility.