Socket
Socket
Sign inDemoInstall

@restart/hooks

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restart/hooks - npm Package Versions

1
7

0.3.4

Diff

Changelog

Source

0.3.4 (2019-07-04)

Bug Fixes

  • useIntersectionObserver: make SSR compatible (fc56257)
monastic.panic
published 0.3.3 •

Changelog

Source

0.3.3 (2019-07-03)

Bug Fixes

  • useEventListener: correct listener options type (96503dc)

Features

  • useAnimationFrame: add the ability to not clear previous callbacks (541b82c)
  • useIntersectionObserver: add an IntersectionObserver hook (5791b22)
  • useIsomorphicEffect: add hook to avoid SSR warning with useLayoutEffect (6e6b5fa)
  • useResizeObserver: use with isomorphic safe effect (4a5d976)
  • useStableMemo: add useStableMemo for a stable...useMemo (ff981fb)
monastic.panic
published 0.3.2 •

Changelog

Source

0.3.2 (2019-06-26)

Features

  • add esm support (#5) (ec456c1)
  • useEventListener allows a function, useGlobalListener works in SSR (c67b9bc)
monastic.panic
published 0.3.1 •

Changelog

Source

0.3.1 (2019-06-07)

Bug Fixes

  • useMergeState: calling setState twice (#4) (ec7d569)
monastic.panic
published 0.3.0 •

Changelog

Source

0.3.0 (2019-05-28)

Features

BREAKING CHANGES

  • useRequestAnimationFrame -> useAnimationFrame
monastic.panic
published 0.2.14 •

Changelog

Source

0.2.14 (2019-05-28)

Features

  • add useRequestAnimationFrame (5c8dff1)
monastic.panic
published 0.2.13 •

Changelog

Source

0.2.13 (2019-05-15)

Bug Fixes

  • types: useInterval overloads (f592102)
monastic.panic
published 0.2.12 •

Changelog

Source

0.2.12 (2019-05-08)

Bug Fixes

  • types: make useFocusManger options optional (c1ee506)
  • useMounted: provides a stable isMounted function (3703508)
monastic.panic
published 0.2.11 •

Changelog

Source

0.2.11 (2019-05-02)

Bug Fixes

  • allow nullable handlers in event callback (c423cb8)
monastic.panic
published 0.2.10 •

Changelog

Source

0.2.10 (2019-05-02)

Features

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc