Skip to content

Releases: react-hookz/web

v11.1.0

28 Sep 21:33
Compare
Choose a tag to compare

11.1.0 (2021-09-28)

Features

v11.0.0

28 Sep 20:56
Compare
Choose a tag to compare

11.0.0 (2021-09-28)

Bug Fixes

  • proper links in readme that don't break in firefox (b406dc6)

Features

  • improve useConditionalEffect and remove useConditionalUpdateEffect (#345) (4474cf7)

BREAKING CHANGES

  • useConditionalEffect conditions and deps arguments now switched places.

  • feat(useConditionalEffect): added ability to wrap other effect hooks

  • feat: remove useConditionalUpdateEffect

  • useConditionalUpdateEffect removed in favor of
    composition with useConditionalEffect.

Now you should simpy pass extra argument to achieve same functionality:
useConditionalEffect(()=>{}, undefined, [], truthyAndArrayPredicate, useUpdateEffect)

  • Interface IUseConditionalEffectPredicate renamed to
    IConditionsPredicate

  • docs: cleanup, remove useConditionalUpdateEffect from readme

Co-authored-by: Joe Duncko JoeDuncko@users.noreply.github.com

v10.1.1

24 Sep 14:10
Compare
Choose a tag to compare

10.1.1 (2021-09-24)

Bug Fixes

v10.1.0

23 Sep 16:09
Compare
Choose a tag to compare

10.1.0 (2021-09-23)

Features

v10.0.0

23 Sep 15:50
Compare
Choose a tag to compare

10.0.0 (2021-09-23)

Features

  • useAsync: remove effector behaviour from hook (#339) (0e47ff2)

BREAKING CHANGES

  • useAsync: useAsync hook now has only 2 arguments, asyncFn and initialValue
    and do not execute provided function on its own.

  • chore(useAsync): remove unused IUseAsyncOptions interface

v9.0.0

30 Aug 07:52
Compare
Choose a tag to compare

9.0.0 (2021-08-30)

Documentation

BREAKING CHANGES

  • IAnyPermissionDescriptor type removed in favor of
    built-in PermissionDescriptor.

  • docs(useCookieValue): example been using old index import

v8.0.0

30 Aug 07:15
Compare
Choose a tag to compare

8.0.0 (2021-08-30)

chore

BREAKING CHANGES

  • TS: IAnyPermissionDescriptor type removed in favor of
    built-in PermissionDescriptor.

v7.0.0

06 Aug 12:47
Compare
Choose a tag to compare

7.0.0 (2021-08-06)

Bug Fixes

  • useMediaQuery: add support for safari 13- that has obsolete useMediaQuery implementation (#249) (25c8599), closes #242

Code Refactoring

  • useKeyboardEvent: improve the code and change signature (#248) (a0e1b24)

BREAKING CHANGES

  • useKeyboardEvent: hook call signature has changed.

v6.1.0

04 Aug 19:22
Compare
Choose a tag to compare

6.1.0 (2021-08-04)

Features

v6.0.1

25 Jul 22:27
Compare
Choose a tag to compare

6.0.1 (2021-07-25)

Bug Fixes

  • make hooks that not listed in index.ts to be built too (c119371)