Skip to content

Releases: xiel/outer-hooks

v0.0.5

25 Apr 16:37
Compare
Choose a tag to compare
  • #45 fix: prevent effects scheduled during suspended render to run after resume (in #46)

Full Changelog: v0.0.4-beta...v0.0.5

runHook API

20 Feb 16:59
Compare
Choose a tag to compare
  • start API was renamed to runHook(...) #28
    • runHook allows hooks to suspend (in contrast to runHookSync [coming soon...])
// Run the hook
const custom = runHook(useCustomHook, initialProps)

Full Changelog: https://github.com/xiel/outer-hooks/commits/v0.0.4-beta

New Beta: Effectful in Node 🧚🏼‍♀️

11 Feb 11:40
Compare
Choose a tag to compare

Now, hooks run with effects in Node by default.

Effects can be disabled by setting a property on the hook:
useHook.effectsDisabled = true