How to check if a compnent is re-rendered or not in react? – Reactjs
I've been working with react for nearly 3 years, but sometimes run into difficulties in "Rendering" meaning. Practically, to check "Rendering", I just put "console.log('render')" in a component right before "return <>...</>". Is this correct check? Or Can't I know…