@studio-freight/hamo
v0.6.33Introduction
hamo
means hook in Latin, this package is a collection of custom React hooks.
π§ This package is not stable, API might change at any time π§
Setup
$ npm i @studio-freight/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 @studio-freight/hamo
Metadata
- ISC
- Whatever
- @studio-freight
- released 4/17/2024