3 ms·
It’s useful to think about key as the telling React of the identity of a component. Whenever you want a stateful component that can be identified by a unique n
by dgb23 4y ago
It’s useful to think about key as the telling React of the identity of a component.
Whenever you want a stateful component that can be identified by a unique name, you’ll likely want to tell that to React via key.