arrow_backBACK TO DRILLS
Blue BeltrenderingPREMIUM
Render purity and repeated renders
A React component increments a global variable during render to track how many times the component has rendered. Why is this considered unsafe in React?
A React component increments a global variable during render to track how many times the component has rendered. Why is this considered unsafe in React?