React child component keys
When React re-renders child components and the appears incorrect, but the component state is correct, the child component's key is not unique, and React is re-rendering the old component based on that key.
TweetWhen React re-renders child components and the appears incorrect, but the component state is correct, the child component's key is not unique, and React is re-rendering the old component based on that key.
Tweet