JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
156 stars 48 forks source link

React 18 support #10

Closed moritzjacobs closed 2 years ago

moritzjacobs commented 2 years ago

Hi! Thanks for your work on this, saved us a lot of time!

However since you have react@17.0.2 as a peer dependency, we now have to npm i --legacy-peer-deps.

I think "react": "^17.0.2 || ^18.1.0" should do the trick here, at least it builds without errors on my machine.

Thanks again!

JorrinKievit commented 2 years ago

Nice catch! Will put out an update either today or tomorrow to fix this and the other issue