arrow_backBACK TO DRILLS
White Beltstate-snapshotsPREMIUM
State updates are queued for next render
Inside a click handler, a component calls setCount(count + 1) and then immediately logs count. What value will be logged?
Inside a click handler, a component calls setCount(count + 1) and then immediately logs count. What value will be logged?