Today I Learned

hashrocket A Hashrocket project

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.

See More #javascript TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.