Releases: gregberge/react-merge-refs
Releases · gregberge/react-merge-refs
v2.1.1
Problem during the publishing of v2.1.0 on the npm registry. This version is strictly the same as version 2.1.0.
v2.1.0
Features
- allow a ref to be undefined in the types (#33) (d9079dd)
v2.0.1
Bug Fixes
- esm: add default export to maximize compat (8189083), closes #27
v2.0.0
Bug Fixes
- fix incorrect CJS / ESM distribution (#17) (048c4ea)
Features
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";