mac-s-g / react-json-view

JSON viewer for react
https://mac-s-g.github.io/react-json-view/demo/dist/
MIT License
3.46k stars 492 forks source link

version constrains upgrade please react and react-dom #358

Open filoucrackeur opened 3 years ago

filoucrackeur commented 3 years ago

Hello

I'm using a version 16 of react and react-dom but constrains are blocked strict :(

is it possible to change to @^16.0.0 for react and react-dom ?

yarn install --force
warning " > react-json-view-antd@1.0.3" has incorrect peer dependency "react@16.0.0 || 15.5.4".
warning " > react-json-view-antd@1.0.3" has incorrect peer dependency "react-dom@16.0.0 || 15.5.4".

cordially

AbhaysinghBhosale commented 3 years ago

Yes, This should be done as many of users of library are on react 16+.

Also there are no release notes to see what has been changed

CWSites commented 3 years ago

Still an issue.

warning "@react-theming/storybook-addon > @usulpro/react-json-view@2.0.1" has incorrect peer dependency "react@^16.0.0 || ^15.5.4".
warning "@react-theming/storybook-addon > @usulpro/react-json-view@2.0.1" has incorrect peer dependency "react-dom@^16.0.0 || ^15.5.4".