npm react-hotkeys-hook 2.0.0

latest releases: 4.4.1, 4.4.0, 4.3.8...
4 years ago

IMPORTANT BREAKING CHANGE!

The call signature has changed! Prior to v2 it was
useHotkeys(keys: string, callback: (event: KeyboardEvent, handler: HotkeysEvent) => void, deps: any[] = [], options: Options = {})

With v2 deps and options changed position:
useHotkeys(keys: string, callback: (event: KeyboardEvent, handler: HotkeysEvent) => void, options: Options = {}, deps: any[] = [])

Release Commits

  • Added more options Swapped deps and options param. Updated docz. 5881da1
  • Merge pull request #251 from JohannesKlauss/renovate/docz-2.x 66914ef
  • Update dependency docz to v2.3.0 eafd452
  • Merge pull request #249 from JohannesKlauss/renovate/react-16.x f8ae1d4
  • Update dependency @types/react to v16.9.32 8585adc
  • Merge pull request #250 from JohannesKlauss/renovate/react-dom-16.x 18958d4
  • Update dependency @types/react-dom to v16.9.6 296ca08
  • Merge pull request #248 from JohannesKlauss/renovate/react-16.x fc6f662
  • Update dependency @types/react to v16.9.30 f6adb20
  • Merge pull request #247 from JohannesKlauss/renovate/react-16.x e2194db
  • Update dependency @types/react to v16.9.29 4559d0b
  • Merge pull request #246 from JohannesKlauss/renovate/react-16.x d110a30
  • Update dependency @types/react to v16.9.27 af3e1c9

v1.6.1...v2.0.0

Don't miss a new react-hotkeys-hook release

NewReleases is sending notifications on new releases.