Skip to content

Issue with React 17 support #650

@rebeccaalpert

Description

@rebeccaalpert

From Andy Pickering:

I'm hitting warnings when running npm install due to the React version. I'm using React 17 and can't upgrade because I'm developing a web console plugin. The Chatbot depends on framer-motion and react-markdown versions that both require React 18+

Maybe those package versions need to be downgraded in the Chatbot to something that supports React 17?

Or maybe I'm just missing something? I can suppress the warnings by adding "react": "17.0.2" and "react-dom": "17.0.2" to overrides , but I guess that's not the best solution?

We are on "react-markdown": "9.0.1", and "framer-motion": "11.3.28".

It looks like react-markdown 8.0.7 and framer-motion 6.5.1 supported 17. A third-party contributed that particular piece of the extension originally and we haven't touched it. We should try downgrading so we can support 17 the way we say we do.

Metadata

Metadata

Assignees

Labels

PF6Applies to only the PF6 version

Type

Projects

Status

PR Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions