@studio-freight/hamo

v0.6.33
hamo means hook, do the math.

HAMO

Introduction

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:


License

The MIT License.

npm i @studio-freight/hamo

Metadata

  • ISC
  • Whatever
  • @studio-freight
  • released 4/17/2024

Downloads