Course contentsShow
React
Lesson 772 of 2,39620. useReducerPro lesson

The init Function Parameter

Using useReducer's third parameter to pass a function that computes initial state lazily, running only on mount.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.