Releases: xiel/outer-hooks
Releases · xiel/outer-hooks
v0.0.5
runHook API
- 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 🧚🏼♀️
Now, hooks run with effects in Node by default.
Effects can be disabled by setting a property on the hook:
useHook.effectsDisabled = true