11.0.2
Encouraging correct usage of key
s
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 key
s. 11.x
did not mask incorrect key
usage. In this release we have:
- 👩⚕ Restored the old (still somewhat broken) behaviour when incorrectly using
key
s - 👷♀ Logging a development only warning when we detect incorrect
key
usage - 👩🏫 Created a guide to help you using
key
withreact-beautiful-dnd
Other
- Internal linting for
useLayoutEffect
(#1281)