Open piyushmani opened 1 year ago
I suppose it's because new playerRef is created each time the component is rendered, which spoils React optimization... Found just looking the source code: https://github.com/devcshort/react-hls/blob/master/src/index.tsx#L13
playerRef
I suppose it's because new
playerRef
is created each time the component is rendered, which spoils React optimization... Found just looking the source code: https://github.com/devcshort/react-hls/blob/master/src/index.tsx#L13