This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Multiple setState calls can cause stale closure bugs; a reducer guarantees you're working with the correct current state.
You've completed the free preview. Subscribe to unlock every lesson in every course.