Skip to content

10.23.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jul 19:05
2f1712a

Features

This adds support for returning a function in functional refs, example

<input
  ref={(ref) => {
    // Assign ref, do something with it
    return () => {
      // ref cleanup, when the element unmounts
      // we run the cleanup
    };
  }}
/>

Fixes

Types

Maintenance