scottrippey

scottrippey/react-use-event-hook

Same as React's useCallback, but returns a stable reference.

TypeScript
226
10
MIT License

This library provides a user-land implementation of React's proposed `useEvent` hook, offering a stable reference for event handlers similar to `useCallback`. It's designed for React developers who want to ensure their event handlers maintain a stable identity, even when referencing changing props or state.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

scottrippey's profile
scottrippey
14 contributions
lynxtaa's profile
lynxtaa
2 contributions
shkreios's profile
shkreios
2 contributions

Recent events

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

No events yet