UNPKG

@preact-hooks/unistore

Version:

A custom Preact hook to wire up components to Unistore.

96 lines (42 loc) 3.48 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [1.1.2](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.1.1...v1.1.2) (2020-04-08) ### Bug Fixes * shallowEqual failing when object contains falsy value ([2c4e7b0](https://github.com/mihar-22/preact-hooks-unistore/commit/2c4e7b0)), closes [#5](https://github.com/mihar-22/preact-hooks-unistore/issues/5) ### [1.1.1](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.1.0...v1.1.1) (2019-10-18) ### Bug Fixes * update types to allow passing a string to useSelector ([f81f0b3](https://github.com/mihar-22/preact-hooks-unistore/commit/f81f0b3)) ## [1.1.0](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.9...v1.1.0) (2019-10-18) ### Bug Fixes * incorrect build and types for shallowEqual ([9a91905](https://github.com/mihar-22/preact-hooks-unistore/commit/9a91905)) ### Features * selector can be a string or a function ([5bb754f](https://github.com/mihar-22/preact-hooks-unistore/commit/5bb754f)) ### [1.0.9](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.8...v1.0.9) (2019-10-13) ### Bug Fixes * **types:** export context and provider as values instead of type ([338dc13](https://github.com/mihar-22/preact-hooks-unistore/commit/338dc13)), closes [#1](https://github.com/mihar-22/preact-hooks-unistore/issues/1) * **types:** incorrect namespace ([1e034c1](https://github.com/mihar-22/preact-hooks-unistore/commit/1e034c1)) ### [1.0.8](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.7...v1.0.8) (2019-10-02) ### Bug Fixes * **build:** upgrade microbundle ([eb612b5](https://github.com/mihar-22/preact-hooks-unistore/commit/eb612b5)) ### [1.0.7](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.6...v1.0.7) (2019-10-02) ### Bug Fixes * **build:** switch from mjs to esm extension and add browserslist ([20b14de](https://github.com/mihar-22/preact-hooks-unistore/commit/20b14de)) ### [1.0.6](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.5...v1.0.6) (2019-10-02) ### Bug Fixes * typo in bundle names ([76b2ae8](https://github.com/mihar-22/preact-hooks-unistore/commit/76b2ae8)) ### [1.0.5](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.4...v1.0.5) (2019-10-02) ### Bug Fixes * typo in umd bundle name ([63cf73c](https://github.com/mihar-22/preact-hooks-unistore/commit/63cf73c)) ### [1.0.4](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.3...v1.0.4) (2019-10-02) ### Bug Fixes * resolve umd bundle issues ([f7893c4](https://github.com/mihar-22/preact-hooks-unistore/commit/f7893c4)) ### [1.0.3](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.2...v1.0.3) (2019-09-30) ### Bug Fixes * **npmrc:** avoid locking package ([ca97d74](https://github.com/mihar-22/preact-hooks-unistore/commit/ca97d74)) ### [1.0.2](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.1...v1.0.2) (2019-09-27) ### Bug Fixes * add name to umd exports and clean up typings ([9357cbd](https://github.com/mihar-22/preact-hooks-unistore/commit/9357cbd)) ### [1.0.1](https://github.com/mihar-22/preact-hooks-unistore/compare/v1.0.0...v1.0.1) (2019-09-27) ### Bug Fixes * **types:** add context and provider types ([e22511f](https://github.com/mihar-22/preact-hooks-unistore/commit/e22511f)) ## 1.0.0 (2019-09-26)