Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

11.0.2

Choose a tag to compare

@alexreardon alexreardon released this 29 Apr 01:28
· 376 commits to master since this release

Encouraging correct usage of keys

When rendering items in a list React recommends using a key to keep track of the item between re-rendering (docs, guide). In 10.x we covered over some issues when incorrectly using keys. 11.x did not mask incorrect key usage. In this release we have:

  • 👩‍⚕ Restored the old (still somewhat broken) behaviour when incorrectly using keys
  • 👷‍♀ Logging a development only warning when we detect incorrect key usage
  • 👩‍🏫 Created a guide to help you using key with react-beautiful-dnd

Closes #1274 #1278 #917

Other

  • Internal linting for useLayoutEffect (#1281)