Skip to content

Bug - react-templates - Support of react 19 #12014

@barreiro

Description

@barreiro

Describe the problem

After upgrading to patternfly 6.3.1 and to react 19 I get the following error when running npm install:

npm error Could not resolve dependency:
npm error peer react@"^17 || ^18" from @patternfly/react-templates@6.3.1
npm error node_modules/@patternfly/react-templates
npm error   @patternfly/react-templates@"6.3.1" from the root project

How do you reproduce the problem?

Have an existing project with patternfly 6.3.1 and upgrade from react 18 to react 19

Expected behavior

The react-templates package should support react 19.

Is this issue blocking you?

I have copied react-templates components into my project for now, but would like to revert that as son as possible. As alternative we could continue stuck with react-18.

Screenshots

n/a

What is your environment?

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

What is your product and what release date are you targeting?

Horreum and we're targeting 09/30 for the next release.

Any other information?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

PR Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions