All notable changes to this project will be documented in this file.
The format is based on EZEZ Changelog and this project adheres to Semantic Versioning.
useProxyRef
hookuseForwardedProxyRef
hook
useBusy
causing uncaught promise rejection
useDepEffect
alias foruseEffect2
- missing dependency:
@ezez/utils
useEffect2
will trigger the callback whenever the dependency array size change, this is different fromuseEffect
, but more intuitive
useConditionalHooks
will correctly update the result when called hook returns an array
- SSR when using
useCrossTabs
- missing exports of hooks from 1.2.0
useCrossTabs
hookuseCrossTabsMessage
hookuseDetectMultiTabs
hookuseEffect2
hookuseIsFirstRender
hook
- upgraded ts-library-template (yarn -> pnpm, deps, support for paths, etc.)
- fixed demos not running
- fixed react and react-dom being in dependencies
useGeolocation
causing blinking GPS icon on mobile
- missing an explicit return type for
useSimpleGeolocation
- missing
useSimpleGeolocation
export
useGeolocation
hookuseSimpleGeolocation
hookuseForceUpdate
hook
- set an explicit return type wherever possible
- slight docs updates/rewording
- dev deps update
useInputDevice
hookuseUpdateEvery
hook
useToday
hook
useConditionalHooks
is now documented
- useConditionalHooks now accepts object of hooks instead of array
- useConditionalHooks now returns object of results instead of array
- useConditionalHooks now accepts changeDetector which helps with performance and optionally prevents infinite loops
- useConditionalHooks now exposes createConditionalHook helper for nicer code and better types
- useBusy hook
- useConditionalHooks now correctly adds
null
to possible return values
- improved support for hooks returning objects
- broken import
- useConditionalHooks beta