Closed samy-tcheik closed 2 years ago
When i click on a button to update a random state, the video player get reloaded again and the onReady event is fired again
const [videoLoading, setVideoLoading] = useState(true)
return (
)
normal state changes ideally will not trigger a player reload.
can you make a small repo that reproduces this issue?
When i click on a button to update a random state, the video player get reloaded again and the onReady event is fired again
const [videoLoading, setVideoLoading] = useState(true)
return (
)