Whenever a STATE VARIABLE is updated, React re-renders the entire component. useEffect's CB function is called only when the entire Component is rendered. The CB Fn. will be executed after every render/re-render (-) useEffect(()=>{ console.log('...
smitd.hashnode.dev5 min read
No responses yet.