github stimulus-use/stimulus-use v0.53.0

4 hours ago

Added

  • useDebounce: Add leading and trailing options by @Kerrick in #559
  • useResize: support the box option for observation by @marcoroth in #604

Changed

  • Extra type safety check in use-click-outside by @adamyonk in #569
  • useIntersection: Remove intersection observer polyfill (Fixes #558) by @Kerrick in #561
  • Forward ElementType generic to Controller by @myabc in #584

Fixed

  • useDebounce: retain event.currentTarget on debounced actions by @marcoroth in #598
  • useDebounce: support non-event arguments without crashing by @marcoroth in #599
  • useHotkeys: pass the HotkeysEvent as the second handler argument by @marcoroth in #600
  • useHotkeys: apply the filter option in the simple form by @marcoroth in #601
  • useHotkeys: only unbind the disconnecting controller's handlers by @marcoroth in #602
  • useResize: avoid ResizeObserver loop warning by @marcoroth in #603
  • useMemo: memoize getters lazily on first access by @marcoroth in #605
  • debug: follow application.debug and deprecate stimulusUseDebug by @marcoroth in #606

Docs

Internal

Dependencies

New Contributors

Commits

Full Changelog: v0.52.3...v0.53.0

Don't miss a new stimulus-use release

NewReleases is sending notifications on new releases.