3 ms·
Is the `key` prop still required?
by qudat 11y ago
Is the `key` prop still required?
- spicyj 11y agoYes, it is. React uses it to track identity of components in a list; it's significant especially when reordering children and affects both which DOM nodes get reused as well as whether this.state is preserved.