alissonmbr / react-xml-viewer

MIT License
30 stars 20 forks source link

React 17 support? #19

Closed ygorduraes closed 3 years ago

ygorduraes commented 3 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: webflow-annotator@0.1.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0" from react-xml-viewer@1.2.0
alissonmbr commented 3 years ago

Hi @ygorduraes I just published the version 1.3.0 changing peer dependencies to accept react >= 15.0.0 < 18.0.0 and tested locally and worked with react 17