React DOMException: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node

In playYouTube.tsx line 78 replace <React.Fragment>...</React.Fragment>
with <div>...</div>

Fragments let you group a list of children without adding extra nodes
to the DOM.

This explains the error
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

More on fragments here https://reactjs.org/docs/fragments.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)