This package has been deprecated

Author message:

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

@studio-freight/hamo
TypeScript icon, indicating that this package has built-in type declarations

0.6.33 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @studio-freight/hamo

Weekly Downloads

7,952

Version

0.6.33

License

ISC

Unpacked Size

143 kB

Total Files

26

Last publish

Collaborators

  • arzafran
  • clementroche
  • gfier
  • lsoengas