comment arrêter de rendu dans les crochets react
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