Sep 5, 2018 · 1 min read
What’s missing here is the fact that this is only problematic when the child components have inner state. When they are pure/functional only and render based on props only, you can safely use the index as a key.
What’s missing here is the fact that this is only problematic when the child components have inner state. When they are pure/functional only and render based on props only, you can safely use the index as a key.