This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
If you can calculate a value from existing state during render, don't store it separately in useState.
You've completed the free preview. Subscribe to unlock every lesson in every course.