11.0.0 (2021-09-28)
Bug Fixes
- proper links in readme that don't break in firefox (b406dc6)
Features
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 withuseConditionalEffect
.
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