This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Understanding the problem: when you need the latest state value to compute the next state, closure captures can be stale.
You've completed the free preview. Subscribe to unlock every lesson in every course.