fullscreen
,storybook
- #194 Feat/144/add use fullscreen (#150) (@imbhargav5)
boundingclientrect-ref
,countdown
,docusaurus
,fork-ref
,geolocation
,intersection-observer-ref
,isomorphic-effect
,mutation-observer-ref
,outside-click-ref
- #195 Remove travis integration (@imbhargav5)
- Other
- #193 Fix rebase action (@imbhargav5)
- #192 Add rebase github action (@imbhargav5)
docusaurus
- #191 Improvements to docusaurus website (@imbhargav5)
- #190 Fix typo on website (@1337MARCEL)
docusaurus
- #186 Switch site to docusaurus (@imbhargav5)
- #182 Bump rollup-plugin-typescript2 from 0.24.0 to 0.24.3 (@dependabot-preview[bot])
- Added new useCountdown hook
- Fix types for useOutsideClickRef hook
- Internal bug fixes
- New useBoundingclientrectRef hook
- New useForkRef hook
- New useOutsideClickRef hook
- New useIsomorphicEffect hook
- New useMutationObserverRef hook
- New useIntersectionObserverRef hook
- Minor bug fixes
- New useGeolocation hook
- New useThrottle hook
- Minor bug fixes
#v3.2.2
- Fix a minor bug in useKeys
#v3.2.0
-
New hooks added
useOnWindowResize
useOnWindowScroll
useKeys
-
Allow localStorage and sessionStorage to store all kinds of values.
#v3.1
- New hook added
useDebounce
- Critical bug with useKey with refs not detected was fixed
useWindowSize
now returnsinnerHeight
,innerWidth
,outerHeight
andouterWidth
. It no longer returnsheight
andwidth
which were ambiguous.useWorker
has a new signature.useInterval
had issues withuseState
which have been resolvedusePrevious
has a much simpler implementation usinguseRef
typescript
types have been added to all the hooks- Storybook website has been added
- Uniform major package version for all packages. It makes development easier and it also helps tracking compatibility.
useToggle
v2.0.0 Return value is now an array with two values instead of an object
-
useInterval
-
1.2.1 (2019-02-21)
-
Updated the
useInteval
hook to use Dan Abramov's implementation while still maintaining the original Rooks function signature and return value.
-1.1.1 (2019-01-20)
-
-
useOutsideClick
- Fix SSR bug introduced
- Also look for touch listeners now
-
rooks