This package has been deprecated

Author message:

The '@darkroom.engineering/hamo' package has been renamed to 'hamo'. Please update your dependencies: npm install hamo and visit the documentation: https://www.npmjs.com/package/hamo

@darkroom.engineering/hamo
TypeScript icon, indicating that this package has built-in type declarations

0.6.46 • Public • Published

HAMO

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:


License

The MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @darkroom.engineering/hamo

Weekly Downloads

642

Version

0.6.46

License

MIT

Unpacked Size

146 kB

Total Files

26

Last publish

Collaborators

  • arzafran
  • clementroche
  • gfier