@darkroom.engineering/hamo
v0.6.46 react hooks
Introduction
hāmō
means hook in Latin, this package is a collection of custom React hooks.
Setup
$ npm i @darkroom.engineering/hamo
Hooks
useRect
– tracks element position within the page
useWindowSize
– tracks window dimensions
useFrame
– runs callback on every frame
useResizeObserver
– observes element dimensions using ResizeObserver
Authors
This set of hooks is curated and maintained by the darkroom.engineering team:
- Clément Roche (@clementroche_) – darkroom.engineering
- Guido Fier (@uido15) – darkroom.engineering
- Leandro Soengas (@lsoengas) - darkroom.engineering
- Franco Arza (@arzafran) - darkroom.engineering
License
npm i @darkroom.engineering/hamo
Metadata
- MIT
- Whatever
- darkroom.engineering
- released 8/1/2024