733 Commits

Author SHA1 Message Date
semantic-release-bot
4e343b1399 chore(release): 9.4.0 [skip ci]
# [9.4.0](https://github.com/streamich/react-use/compare/v9.3.0...v9.4.0) (2019-06-04)

### Bug Fixes

* fix TypeScript error ([72e3036](https://github.com/streamich/react-use/commit/72e3036))
* **docs:** syntax error, improve examples ([8bbe9d8](https://github.com/streamich/react-use/commit/8bbe9d8))

### Features

* improve createReducer function ([6ba2d93](https://github.com/streamich/react-use/commit/6ba2d93)), closes [#164](https://github.com/streamich/react-use/issues/164)
v9.4.0
2019-06-04 17:03:30 +00:00
Vadim Dalecky
c3ecced951
Merge pull request #315 from streamich/createReducer 2019-06-04 10:00:51 -07:00
Vadim Dalecky
044d7455ec
docs: syntax error, improve examples 2019-06-04 09:57:45 -07:00
Renovate Bot
061c03243f chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.3.5 2019-06-04 00:45:28 +00:00
Alvaro Bernal
8bbe9d8990 fix(docs): syntax error, improve examples 2019-06-02 12:21:57 +01:00
Vadim Dalecky
01f96bd304
style: fix linter errors 2019-06-02 07:28:39 +02:00
Vadim Dalecky
17036105ad
style: don't shadow variable 2019-06-02 07:28:09 +02:00
Vadim Dalecky
72e3036b15
fix: fix TypeScript error 2019-06-02 07:15:39 +02:00
Vadim Dalecky
f3390c35e9
Merge pull request #345 from streamich/dependabot/npm_and_yarn/copy-to-clipboard-3.2.0
chore(deps): bump copy-to-clipboard from 3.1.0 to 3.2.0
2019-06-01 12:29:39 +02:00
Vadim Dalecky
e0fc6269f9
reafactor: improve useAsync typings 2019-06-01 11:33:23 +02:00
NullVoxPopuli
ed17aed4bd make types better 2019-05-31 13:04:25 -04:00
Renovate Bot
8b1a9f2ae0 chore(deps): pin dependency babel-plugin-dynamic-import-node to 2.2.0 2019-05-31 09:36:11 +00:00
semantic-release-bot
749da199a6 chore(release): 9.3.0 [skip ci]
# [9.3.0](https://github.com/streamich/react-use/compare/v9.2.0...v9.3.0) (2019-05-31)

### Features

* improve useAsync and useAsyncFn ([3ab1d5d](https://github.com/streamich/react-use/commit/3ab1d5d))
v9.3.0
2019-05-31 08:12:20 +00:00
Vadim Dalecky
3ab1d5db3c
feat: improve useAsync and useAsyncFn 2019-05-31 10:10:42 +02:00
streamich
09f9bdbe1b chore: 🤖 catch-up with master 2019-05-31 10:04:55 +02:00
dependabot-preview[bot]
c420510406
chore(deps): bump copy-to-clipboard from 3.1.0 to 3.2.0
Bumps [copy-to-clipboard](https://github.com/sudodoki/copy-to-clipboard) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/sudodoki/copy-to-clipboard/releases)
- [Commits](https://github.com/sudodoki/copy-to-clipboard/compare/v3.1.0...v3.2.0)
2019-05-31 08:00:42 +00:00
dependabot[bot]
e79fdfea3b
Merge pull request #339 from streamich/dependabot/npm_and_yarn/fstream-1.0.12 2019-05-31 07:41:26 +00:00
dependabot[bot]
dd7d25632a
chore(deps): bump fstream from 1.0.11 to 1.0.12
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)
2019-05-31 07:17:00 +00:00
Vadim Dalecky
8e11b7c18f
Merge pull request #332 from streamich/docs-usage
docs: ✏️ move usage docs into its own file
2019-05-31 08:26:07 +02:00
streamich
c2b153fadb chore: 🤖 catch-up with master 2019-05-31 08:21:56 +02:00
semantic-release-bot
619a470979 chore(release): 9.2.0 [skip ci]
# [9.2.0](https://github.com/streamich/react-use/compare/v9.1.2...v9.2.0) (2019-05-31)

### Features

* 🎸 improve useObservable() type annotations ([d0c3713](https://github.com/streamich/react-use/commit/d0c3713))
* improve useSetState() typings ([fad4440](https://github.com/streamich/react-use/commit/fad4440))
v9.2.0
2019-05-31 06:15:44 +00:00
Vadim Dalecky
50b3c2fdca
Merge pull request #335 from azukaar/fix/ci
Fix linux test
2019-05-31 08:13:46 +02:00
Yann Stepienik
5c659d3445
Update babel.config.js 2019-05-30 21:10:22 +01:00
Yann Stepienik
f7e8fef890 Fix linux test 2019-05-30 20:08:04 +00:00
streamich
03de97d062 chore: 🤖 update deps 2019-05-30 20:59:03 +02:00
streamich
f8bd530f33 docs: ✏️ improve README footer 2019-05-30 20:54:31 +02:00
streamich
2a856dc4c2 docs: ✏️ move usage docs into its own file 2019-05-30 20:52:05 +02:00
Vadim Dalecky
49ea508405
Merge pull request #331 from streamich/useObservable
Use observable
2019-05-30 20:45:52 +02:00
streamich
3a0c683099 test: 💍 add tests for useObservable() hook 2019-05-30 20:43:53 +02:00
streamich
d0c3713dec feat: 🎸 improve useObservable() type annotations 2019-05-30 20:39:07 +02:00
streamich
70697d9626 style: 💄 fix linting error 2019-05-30 19:57:10 +02:00
NullVoxPopuli
a880724b04 add test proving that we can capture and await the callback result 2019-05-30 13:46:54 -04:00
NullVoxPopuli
facedc10aa simplify types 2019-05-30 13:41:12 -04:00
Vadim Dalecky
fad444032c
feat: improve useSetState() typings
Fix useSetState callback parameter type
2019-05-30 19:31:38 +02:00
Vadim Dalecky
e63ef6e803
chore: fix package.json 2019-05-30 19:23:34 +02:00
Vadim Dalecky
5717959141
chore: make package tree-shakeable
Add sideEffects false to package.json
2019-05-30 19:20:30 +02:00
Nate Wienert
27e840349d
Add sideEffects false to package.json
To make tree-shakeable by webpack
2019-05-29 17:02:51 -07:00
Kier Borromeo
eeb05e90db
Fix useSetState callback parameter type 2019-05-30 07:05:52 +08:00
NullVoxPopuli
4f8b1b9897 wrong default. whoops 2019-05-29 14:59:00 -04:00
Renovate Bot
01f676bacc chore(deps): update dependency typescript to v3.5.1 2019-05-29 18:48:22 +00:00
NullVoxPopuli
1b59040e6e unify test style 2019-05-29 14:48:11 -04:00
NullVoxPopuli
30209518d5 finished 2019-05-29 14:11:42 -04:00
NullVoxPopuli
cabb9d6676 tests pass, now to fix types 2019-05-29 13:04:11 -04:00
NullVoxPopuli
85db1dd940 tests done for useAsync 2019-05-29 10:22:04 -04:00
NullVoxPopuli
3f9cc47975 add some tests 2019-05-29 10:08:12 -04:00
NullVoxPopuli
ab418cc6ec add tests, and fix the initial state issue 2019-05-28 17:30:59 -04:00
Renovate Bot
5d3e9e5c9f chore(deps): update dependency @types/react to v16.8.19 2019-05-28 20:46:03 +00:00
Renovate Bot
52a131ac08 chore(deps): update dependency ts-node to v8.2.0 2019-05-26 02:46:10 +00:00
Renovate Bot
b0023754db chore(deps): update dependency ts-node to v8.1.1 2019-05-25 02:27:09 +00:00
Va Da
6fc397f512
chore: add Github heart badge 2019-05-24 22:41:57 +02:00