v3.0.0
This release mostly focused on refactoring and improvement to Item
component.
ref
type changed fromref object
toref callback
. For most users there is nothing to do with passing ref to node, it works the same way (ref={ref}
). But now you no longer need to cast ref manually, so you will have to remove manual casting if you have such.- Removed possibility to omit passing
ref
to node if there is only oneItem
. Now you always have to pass it.
Refactoring led to removing useLayoutEffect
, so there is no more warning introduced in 2.2.7