Skip to content

v3.0.0

Compare
Choose a tag to compare
@MaximKondratev MaximKondratev released this 05 Dec 09:00
· 123 commits to master since this release

This release mostly focused on refactoring and improvement to Item component.

  • ref type changed from ref object to ref 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 one Item. Now you always have to pass it.

Refactoring led to removing useLayoutEffect, so there is no more warning introduced in 2.2.7