Releases: darkroomengineering/hamo
v0.6.9
v0.4.27
v0.4.24
tree shaking
0.2.2 bump version
0.2.0
0.0.1
added the following hooks:
useDebounce β debounce goodness
useDebug β returns true if #debug is present in the url
useEffectOnce β runs a function through react's useEffect with an empty dependency array
useFrame β use @react-spring/rafz animation frame
useInterval β create and dispose intervals
useIsTouchDevice β duh
useIsomophicLayoutEffect β runs react's useLayoutEffect if in browser, if not, runs a plain useEffect instead
useMeasure β measure anything in the dom
useMediaQuery β css-like media query support in Javascript.
useRafState β modify state in sync with @react-spring/rafz
useRect β getboundingclientrect with scrollY sauce if using our lenis smooth scroll
useSlots β brings vue slots to react
useTimeoutFn β timeout a function
useUnmount β calls unmount callbacks.
useWindowSize β window sizing updated in sync with @react-spring/rafz