All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.13.3 (2022-02-10)
- expose the SyncState implementation together as a class (fdaed9f)
1.13.2 (2022-01-28)
- url: encodeURLParams() encode parameter keys (a3b8243)
- url: skip encode undefined param into string (f792b34)
1.13.1 (2021-12-01)
- turn on esModuleInterop in ts config (8c453d5)
1.13.0 (2021-11-30)
- add
useSyncStateEffect
,useDeepEqualMemo
(a272d2e)
1.12.3 (2021-11-19)
- make ReactiveSyncState update before fire event to default event listener (2d71ead)
- put listener into callback proxy for useSyncStateListener (4d96f93)
1.12.2 (2021-11-16)
- revert back to useEffect in useSyncStateValue() (4fb89e6)
1.12.1 (2021-11-16)
- useLayoutEffect for useSyncStateValue() to ensure it update to date (24b1001)
1.12.0 (2021-11-15)
- add useSyncStateWrapper() (e534ddf)
1.11.0 (2021-11-05)
- add useSyncState hooks for synchronous state management (824c074)
1.10.2 (2021-10-22)
- ts: ListenerHolder type defaults to (...args: unknown[]) (34c6a99)
1.10.1 (2021-10-21)
- types: use (...args: never[]) => unknown for generic function base type (875624d)
1.10.0 (2021-10-09)
- add useCallbackProxy() (1e73ac7)
- add null check for encodeURLParams, mergeURLParams, decodeURLParams (16f79ad)
1.9.0 (2021-10-08)
- add removeURLParams() and removeURLHashParams() (88c60c0)
1.8.1 (2021-08-06)
- Promisify should get Promise (bcea482)
1.8.0 (2021-07-30)
- add withClassComponentWrapper (27e644d)
1.7.2 (2021-07-22)
- change the default roundMethod to "round" for formatNumber() (6d582ac)
1.7.1 (2021-07-22)
- deal with floating point precision issue for formatNumber() (3d65c65)
1.7.0 (2021-07-10)
- add formatNumber() (8be52d7)
1.6.2 (2021-05-31)
- use useLayoutEffect() for useRefWrapper, to get the ref value synced in sync way (47eb44b)
- deps: update jest, ts-jest to v27 (f7c7b86)
1.6.1 (2021-05-23)
- useRefWrapper() sets value in effect (866e8ae)
1.6.0 (2021-05-11)
- add useUpdateEffect() hook (5307a6b)
- add typify() method as shorthand (be554c8)
1.5.0 (2021-03-23)
- add getURLParam(), getAllURLParams(), getURLHashParam(), getAllURLHashParams() (ecd8fdf)
- parseURL() support optional base param (8d2ce05)
1.4.1 (2021-03-17)
- decodeURLParams() allows empty param to be decoded to empty string (d28d116)
1.4.0 (2021-03-10)
- types: add ParametersTypes<> and Promisify<> (9834ff5)
1.3.0 (2021-03-05)
- add eslint config and fix issues (e9a49ae)
1.2.2 (2021-01-29)
- ComposeProviders should return ReactElement (446534f)
1.2.1 (2021-01-29)
- expose ComposeProviders in react/index (7a08a45)
1.2.0 (2021-01-28)
- add react component for compose multiple context providers in a cleaner way (76192ea)
- add type utilities PropertyType<> and ArrayItemType<> (12abe1f)
1.1.0 (2021-01-21)
1.0.1 (2021-01-19)
- initial commit (6204afd)