Course contentsShow
React
Lesson 388 of 2,39611. useState Patterns and PitfallsPro lesson

The Performance Problem with Direct Values

Understand how expensive computations in useState arguments run on every render, even though initial state is only used once.

This lesson is for subscribers

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