This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn why passing a function to useState defers expensive initial state computation until the component mounts.
You've completed the free preview. Subscribe to unlock every lesson in every course.