When developing low level UI components, it is common to have to use a local ref but also support an external one using React.forwardRef. Natively, React does not offer a way to set two refs inside the ref property. This is the goal of this small utility.
@see: https://github.com/gregberge/react-merge-refs
- Alternatives https://rooks.vercel.app/docs/useForkRef