TLDRReact uses keys to optimise performance. Keys help React identify which items have changed, are added, or are removed. In some cases you don’t have the latest state at your disposal. For someone who had no idea why they were in the “the-scenes” in React, I had to read a lot to get my head around.

4m read time From medium.com
Post cover image
Table of contents
1. Strict Mode2. Keys
2 Comments

Sort: