react-hls
react-hls copied to clipboard
Support react 17 as peerDependency
As per https://github.com/devcshort/react-hls/issues/34 peerDependency errors are emitted when using this module with react 17. This change should suppress these errors, we have tested it using a sample video.
Users are welcome to use a deployed artifact of @panelist/react-hls-player until this is merged / #34 is resolved.
I don't think this is really a fix, you're just removing the dependency check instead of actually refactoring whatever code that relies on React 16. I'm having issues with playerRef when forcing it to use React 17.