Skip to content

v2.0.0

Compare
Choose a tag to compare
@gregberge gregberge released this 19 Jun 08:13
· 12 commits to main since this release

Bug Fixes

  • fix incorrect CJS / ESM distribution (#17) (048c4ea)

Features

  • ESM only & named export (a928d61)

BREAKING CHANGES

  • The package now exports ESM only and a named export.

Before:

import mergeRefs from "react-merge-refs";

After:

import { mergeRefs } from "react-merge-refs";