arrow_backBACK TO DRILLS
White Beltusereducer
dispatch updates next render only
“A component calls dispatch({ type: 'incremented_age' }) and immediately logs state.age afterward. Why does the log still show the old value?”
“A component calls dispatch({ type: 'incremented_age' }) and immediately logs state.age afterward. Why does the log still show the old value?”