findify-js icon indicating copy to clipboard operation
findify-js copied to clipboard

React should be a peer dependency of @findify/react-connect

Open markjaniczak opened this issue 4 years ago • 0 comments

The @findify/react-connect package marks React as a regular dependency and ships with it whereas it should be a peer dependency.

This package isn't usable in a project unless a yarn resolution or similar workaround is made to prevent the local copy of React being used, e.g:

"resolutions": {
    "@findify/**/react": "^17.0.0"
}

Reproduced here.

Issue explained here also.

markjaniczak avatar Dec 02 '20 02:12 markjaniczak