Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 1.83 KB

CHANGELOG.md

File metadata and controls

92 lines (60 loc) · 1.83 KB

Changelog

All notable changes to this project will be documented here.

This project adheres to Semantic Versioning.

2.0.0 (June 22, 2020)

🚨 Breaking changes

  • useEventListener : element parameter has been replaced by options. Set the targeted element into options object parameter instead.
  useEventListener(
    "click",
    () => {},
-   element
+   { element }
  )

✨ Enhancements

  • useEventListener : implement debounce interval option
  • Create useCursorPosition hook.
  • Create debounce util.
  • Create useWatchPosition hook.

1.5.1 (June 19, 2020)

🐛 Bug fixes

  • useEffect dependencies in useEventListener
  • useEffect dependencies in useTimeout

📝 Documentation

1.5.0 (June 18, 2020)

✨ Enhancements

  • Create useOnClickOutside hook.
  • Create useTimeout hook.
  • Create copyToClipboard util.
  • Create useCopyToClipboard hook.

1.4.0 (June 15, 2020)

✨ Enhancements

  • Create isPromise util.
  • Create stopEvent util.
  • Create useInterval hook.
  • Create useTimeLeft hook.

1.3.0 (June 11, 2020)

✨ Enhancements

  • Create useDebounce hook.

1.2.0 (June 8, 2020)

✨ Enhancements

  • Create useEventListener hook.
  • Create useLockBodyScroll hook.

1.1.0 (June 5, 2020)

✨ Enhancements

  • Create useLocalStorage hook.

1.0.0 (May 13, 2020)

✨ Enhancements

  • Create useInput hook.