devcshort / react-hls

Simple React component for playing hls/rtmp live streams.
https://www.npmjs.com/package/react-hls-player
MIT License
118 stars 48 forks source link

React 18 Support #50

Open hazardemircan opened 1 year ago

hazardemircan commented 1 year ago

npm config set legacy-peer-deps true Is it ok to use this library with above script without React 18 support?

georgeportillo commented 1 year ago

I dont think it is. Im trying it, cant get it to work with react18

leandrocunha commented 2 weeks ago

Once this issue is opened more than a year and there is PR open without be merged as well, I created a fork to support React 18 here https://github.com/leandrocunha/react-hls

cgilly2fast commented 1 week ago

I am maintaining an updated version of the package here: https://github.com/cgilly2fast/react-hls

Has React 18 support, can call the HLS object out of the player for manual changes, fixed some bugs and added a test suite.

Looks like @leandrocunha has you covered as well.