usehooks-ts@2.13.0
juliencrn
released this
06 Feb 15:11
·
72 commits
to master
since this release
Minor Changes
- 87a5141: Improve
useOnClickOutside
: - 87ba579: Fix SSR hooks by fallback with default or initial value instead of
undefined
- f39078f: Updated
useIntersectionObserver
API and fixed #395, #271 and #182, see #464. - a444ba7: Depreciated
useElementSize
replaced byuseResizeObserver
- e807ab3: Create
useResizeObserver
hook
Patch Changes
- b5b9e1f: chore: Updated dependencies
- 4146c39: fix:
useScript
failed to remove script from cache when passingremoveOnUnmount
prop (#354 by @ShanSenanayake) - bdf7bda: Add eslint rules to comply with
verbatimModuleSyntax
to avoid side-effects - 6b582de: use
tsup
as bundler instead of transpiling with tsc (@BlankParticle) - be8c35b: Fix
useScreen
is not rerendering on screen resize (#280 by @philipgher)