https://github.com/andarist/are-hook-inputs-equal
A comparator function for previous and current React hook inputs.
https://github.com/andarist/are-hook-inputs-equal
comparator hook hooks react
Last synced: 5 months ago
JSON representation
A comparator function for previous and current React hook inputs.
- Host: GitHub
- URL: https://github.com/andarist/are-hook-inputs-equal
- Owner: Andarist
- Created: 2018-10-31T09:23:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-10T13:08:24.000Z (about 6 years ago)
- Last Synced: 2024-12-14T11:50:25.054Z (about 1 year ago)
- Topics: comparator, hook, hooks, react
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# are-hook-inputs-equal
A comparator function for previous and current React hook inputs. [Written by React team.](https://github.com/facebook/react/blob/1022ee0ec140b8fce47c43ec57ee4a9f80f42eca/packages/react-reconciler/src/ReactFiberHooks.js#L326-L373)