Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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

13
7

0.4.6

Diff

Changelog

Source

0.4.6 (2022-04-01)

Bug Fixes

  • useMounted: adjust to work with strict effects (#70) (8deba46)
monastic.panic
published 0.4.5 •

Changelog

Source

0.4.5 (2021-12-10)

Features

  • add useUpdateLayoutEffect (1914f7e)
monastic.panic
published 0.4.4 •

Changelog

Source

0.4.4 (2021-12-07)

Bug Fixes

monastic.panic
published 0.4.3 •

Changelog

Source

0.4.3 (2021-12-07)

Bug Fixes

  • store matchers per window (6509df8)
monastic.panic
published 0.4.2 •

Changelog

Source

0.4.2 (2021-12-07)

Bug Fixes

Features

  • allow specifying window with useMedia/useBreakpoint (#61) (bf9716d)
monastic.panic
published 0.4.1 •

Changelog

Source

0.4.1 (2021-09-27)

Bug Fixes

  • useFocusManager: memo returned handlers (410bd5a)

Features

Features

  • useIntersectionObserver: allow lazy roots (4c8b77a)
  • useIntersectionObserver: allow lazy roots (#53) (6b035cf)

BREAKING CHANGES

  • useIntersectionObserver: null in the native API means "the window", this is a departure to allow a consumer to hold off setting up the observer until the have a ref to the root. This was possible before by explicitly setting element to null until the root is available but still created an extra observer
monastic.panic
published 0.4.0 •

Changelog

Source

0.4.1 (2021-09-27)

Bug Fixes

  • useFocusManager: memo returned handlers (410bd5a)

Features

Features

  • useIntersectionObserver: allow lazy roots (4c8b77a)
  • useIntersectionObserver: allow lazy roots (#53) (6b035cf)

BREAKING CHANGES

  • useIntersectionObserver: null in the native API means "the window", this is a departure to allow a consumer to hold off setting up the observer until the have a ref to the root. This was possible before by explicitly setting element to null until the root is available but still created an extra observer
monastic.panic
published 0.3.27 •

Changelog

Source

0.3.27 (2021-06-16)

Bug Fixes

Features

  • useIntersectionObserver: add more performant overload (6c532d8)
  • useMutationObserver: add overload to return records and trigger updates (1eaa621)
  • useToggleState: add useToggleState hook (#48) (5f95dd0)
  • add useDebouncedCallback hook (05fb8da)
  • add useDebouncedState hook (a87dd3b)
  • remove lodash (#35) (fefa63c)
monastic.panic
published 0.3.26 •

Changelog

Source

0.3.26 (2021-01-05)

Bug Fixes

monastic.panic
published 0.3.25 •

Changelog

Source

0.3.25 (2020-05-14)

Bug Fixes

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