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

Comparing useState Lazy Init vs useReducer

How useState(() => value) and useReducer's init function solve the same problem with different syntax and use cases.

This lesson is for subscribers

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