Course contentsShow
React
Lesson 157 of 2,3965. Lists and KeysPro lesson

Keys and Component State

How changing an element's key forces React to unmount the old instance and mount a new one, resetting all state.

This lesson is for subscribers

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