-
Notifications
You must be signed in to change notification settings - Fork 47
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
Peer dependency warnings when using @elyra/canvas
with React 17
#1577
Comments
…React 17 Signed-off-by: CTomlyn <tomlyn@us.ibm.com>
@s100 FYI - we are currently working on this. It may take a few more days to get everything done. |
Pleased to hear it, looking forward to taking the new version for a spin when it appears. :) |
The react-contextmenu module has been removed from Elyra Canvas and the react-resize-detector module has been upgraded. We are handling the code mirror problem in a separate issue. I will post here when that one is finished. |
@s100 The two changes for react-contextmenu and react-resize-detector are included in Elyra Canvas v12.37.0. Unfortunately the person working on the Code Mirror changes will be away for a couple of weeks to so this won't get completed until then. |
Confirmed, I see that In the meantime, I also observe that since I opened this issue, As a result of this, I no longer see any peer dependency warnings when installing |
Ref: 3605
@elyra/canvas
now supports React 17 in addition to React 16 and React 18, thank you: #1559.I now see peer dependency warnings when installing
@elyra/canvas
with React 17.This is happening because
@elyra/canvas
has production dependencies on...react-codemirror2
, which supports only React 16. There is an issue to add React 17 support but the package is clearly unmaintained, with no releases since June 2020.react-contextmenu
, which supports only React 16, has had no releases since May 2020 and is explicitly no longer maintained. React 17/18 support isn't coming here.react-resize-detector@5.2.0
, which supports only React 16. Unlike the other two,react-resize-detector
is fully maintained and more recent versions support React 16, 17 and 18, so the solution here would simply be to upgrade. Releases are listed here and the breaking changes look fairly manageable.The text was updated successfully, but these errors were encountered: