react-streetview icon indicating copy to clipboard operation
react-streetview copied to clipboard

React 16.x compatibility

Open Punji opened this issue 7 years ago • 2 comments

I have this error when adding this module:

warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.x".

Is it compatible with React 16.x? If yes, could you please update the peer dependency?

Thanks.

Punji avatar Oct 08 '18 14:10 Punji

I hope it is compatible, however I do not work with React nowadays. So if you would like to contribute, please try it and if it works, please open a PR. Thanks.

elcsiga avatar Oct 08 '18 21:10 elcsiga

It doens't seem to be. Adding || ^16.x allows me to install it, but when I use it, nothing renders, and I get no errors in the console. The React element appears in the React DOM though:

image

If you have any ideas about how to debug this, I'd be happy to try them

naught101 avatar Nov 07 '19 03:11 naught101