Course contentsShow
React
Lesson 354 of 2,39610. useState BasicsPro lesson

Initial State Runs Only Once

Initial state argument is only evaluated on the first render, not on re-renders.

This lesson is for subscribers

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