sandiiarov

sandiiarov/use-deep-compare

🤿 React hooks, except using deep comparison on the inputs, not reference equality

TypeScript
256
6
MIT License

This library provides React hooks that use deep comparison for dependency arrays instead of reference equality, preventing unnecessary re-renders when object/array values are structurally the same but have different references. It's designed for React developers who need more reliable dependency tracking in hooks like `useEffect`, `useCallback`, and `useMemo`, especially when working with complex data structures or when object references change frequently but the underlying data remains the same.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of sandiiarov/use-deep-compare

Account's avatar
Babel preset for all React plugins.
Account's avatar
Babel preset for TypeScript.
Account's avatar
package building, reimagined.
Account's avatar
A @pika/pack plugin: Adds a Node.js distribution to your package, built & optimized to run on Node.js.
Account's avatar
A @pika/pack plugin: Adds TypeScript type definitions to your package build.
Account's avatar
A @pika/pack plugin: Adds an ESM distribution to your package, built & optimized to run in most web browsers (and bundlers).
Account's avatar
A @pika/pack plugin: Builds your package source as standard, ES2018 JavaScript.
Account's avatar
TypeScript definitions for react
Account's avatar
React is a JavaScript library for building user interfaces.
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

renovate-bot's profile
renovate-bot
180 contributions
renovate[bot]'s profile
renovate[bot]
79 contributions
sandiiarov's profile
sandiiarov
34 contributions
dependabot[bot]'s profile
dependabot[bot]
3 contributions
mozzius's profile
mozzius
2 contributions
noghartt's profile
noghartt
1 contributions
Tomekmularczyk's profile
Tomekmularczyk
1 contributions

Recent events

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

No events yet