This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using useReducer's third parameter to pass a function that computes initial state lazily, running only on mount.
You've completed the free preview. Subscribe to unlock every lesson in every course.