ide

ide/react-clone-referenced-element

Clones a React element while preserving its original ref

JavaScript
40
3
MIT License

`react-clone-referenced-element` is a utility library that clones React elements while preserving their original callback refs, even when new refs are specified. It's designed for developers building components that use callback refs, providing a drop-in replacement for `React.cloneElement` with enhanced ref handling. The library is written in ES2018 and requires modern JavaScript runtimes that support trailing commas in function calls and object spread properties.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of ide/react-clone-referenced-element

Account's avatar
Delightful JavaScript Testing.
Account's avatar
React is a JavaScript library for building user interfaces.
Account's avatar
React package for snapshot testing.

Support the repos that depend on ide/react-clone-referenced-element

Top contributors

dependabot[bot]'s profile
dependabot[bot]
16 contributions
ide's profile
ide
12 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet