react-merge-refs

React utility to merge refs 🖇

MIT License

Downloads
3.6M
Stars
582
Committers
7

Bot releases are visible (Hide)

react-merge-refs - v1.0.2 Latest Release

Published by gregberge about 1 year ago

react-merge-refs - v2.1.1

Published by gregberge about 1 year ago

Problem during the publishing of v2.1.0 on the npm registry. This version is strictly the same as version 2.1.0.

react-merge-refs - v2.1.0

Published by gregberge about 1 year ago

Features

  • allow a ref to be undefined in the types (#33) (d9079dd)
react-merge-refs - v2.0.2

Published by gregberge over 1 year ago

Bug Fixes

  • move types condition to the front (#30) (c91c4e4)
react-merge-refs - v2.0.1

Published by gregberge over 2 years ago

Bug Fixes

  • esm: add default export to maximize compat (8189083), closes #27
react-merge-refs - v2.0.0

Published by gregberge over 2 years ago

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";
react-merge-refs - v1.1.0

Published by gregberge about 4 years ago

Features

  • add typescript mappings (53480d2)
react-merge-refs - v1.0.0

Published by gregberge about 5 years ago

Features