Cómo dejar de volver a reproducir en React Hooks
f you’re using a React class component you can use the shouldComponentUpdate method or a React.PureComponent class extension to prevent a component from re-rendering. Use React.memo() to prevent re-rendering on React function components.
siam88