realdennis
|
ef1dc1bf76
|
Test. add testing for useAudio
|
2019-08-30 23:21:24 +08:00 |
|
realdennis
|
c92b4d7400
|
Update the corresponding hooks usage docs
|
2019-08-30 21:51:38 +08:00 |
|
realdennis
|
4dde514de8
|
Using paused property instead of isPlaying
|
2019-08-30 13:21:00 +08:00 |
|
Renovate Bot
|
ff615a3807
|
chore(deps): update dependency lint-staged to v9.2.5
|
2019-08-27 07:56:50 +00:00 |
|
Anton Zinovyev
|
d5ca05e231
|
Merge pull request #568 from streamich/imp-useTimeout
fix: make useTimeoutFn work properly:
|
2019-08-27 01:07:39 +03:00 |
|
xobotyi
|
a6c2d65a35
|
fix typo;
|
2019-08-27 00:01:46 +03:00 |
|
Vadim Dalecky
|
60c9d55b0a
|
test: add tests for useInterval hook
|
2019-08-26 22:52:51 +02:00 |
|
Mario Beltrán Alarcón
|
4cbe1a787e
|
Add tests for useInterval hook
|
2019-08-26 21:47:53 +02:00 |
|
xobotyi
|
438a56606b
|
make useTimeoutFn work properly:
- reset function should clear previous timeout;
- function change should not reset the timeout;
|
2019-08-26 09:58:28 +03:00 |
|
semantic-release-bot
|
0b458dfd31
|
chore(release): 11.3.2 [skip ci]
## [11.3.2](https://github.com/streamich/react-use/compare/v11.3.1...v11.3.2) (2019-08-25)
### Bug Fixes
* useThrottle & useThrottleFn proper timeout type; ([e2cdb94](https://github.com/streamich/react-use/commit/e2cdb94))
v11.3.2
|
2019-08-25 21:58:13 +00:00 |
|
Vadim Dalecky
|
9b7c0047d2
|
Merge pull request #567 from streamich/fix-timeout-type
fix: useThrottle & useThrottleFn proper timeout type;
|
2019-08-25 23:55:49 +02:00 |
|
xobotyi
|
e2cdb94c9b
|
fix: useThrottle & useThrottleFn proper timeout type;
|
2019-08-26 00:33:22 +03:00 |
|
semantic-release-bot
|
bca86db57d
|
chore(release): 11.3.1 [skip ci]
## [11.3.1](https://github.com/streamich/react-use/compare/v11.3.0...v11.3.1) (2019-08-25)
### Bug Fixes
* update createReducer to fix initial state ([fd083f2](https://github.com/streamich/react-use/commit/fd083f2))
v11.3.1
|
2019-08-25 19:29:01 +00:00 |
|
Anton Zinovyev
|
482b57f713
|
Merge pull request #544 from DmacMcgreg/patch-1
fix: update createReducer to fix initial state
|
2019-08-25 22:27:06 +03:00 |
|
Anton Zinovyev
|
943acb25e8
|
Merge pull request #565 from streamich/renovate/lint-staged-9.x
chore(deps): update dependency lint-staged to v9.2.4
|
2019-08-25 22:23:54 +03:00 |
|
semantic-release-bot
|
254eac5c93
|
chore(release): 11.3.0 [skip ci]
# [11.3.0](https://github.com/streamich/react-use/compare/v11.2.0...v11.3.0) (2019-08-25)
### Features
* add usePreviousDistinct ([#551](https://github.com/streamich/react-use/issues/551)) ([6c3e569](https://github.com/streamich/react-use/commit/6c3e569))
v11.3.0
|
2019-08-25 19:22:29 +00:00 |
|
Paul Sachs
|
6c3e569db6
|
feat: add usePreviousDistinct (#551)
* feat: add usePreviousDistinct
* Cleanup
* Added storybook docs
* improve demo in docs
|
2019-08-25 21:20:44 +02:00 |
|
semantic-release-bot
|
c5151c74a2
|
chore(release): 11.2.0 [skip ci]
# [11.2.0](https://github.com/streamich/react-use/compare/v11.1.1...v11.2.0) (2019-08-25)
### Features
* add useCircularIterate ([8d84340](https://github.com/streamich/react-use/commit/8d84340))
v11.2.0
|
2019-08-25 18:04:19 +00:00 |
|
Vadim Dalecky
|
55b6cad1d0
|
Merge pull request #559 from d-asensio/add_use_state_wheel
feat: add useStateList
|
2019-08-25 20:00:12 +02:00 |
|
Renovate Bot
|
36d396d346
|
chore(deps): update dependency lint-staged to v9.2.4
|
2019-08-25 17:46:39 +00:00 |
|
Renovate Bot
|
11860640ab
|
chore(deps): pin dependency react-frame-component to 4.1.1
|
2019-08-25 12:42:08 +00:00 |
|
David Asensio Cañas
|
8d84340ad4
|
feat: add useCircularIterate
|
2019-08-25 13:55:11 +02:00 |
|
semantic-release-bot
|
c7e9ea0811
|
chore(release): 11.1.1 [skip ci]
## [11.1.1](https://github.com/streamich/react-use/compare/v11.1.0...v11.1.1) (2019-08-25)
### Bug Fixes
* [#550](https://github.com/streamich/react-use/issues/550) ([2617d74](https://github.com/streamich/react-use/commit/2617d74))
v11.1.1
|
2019-08-25 11:41:45 +00:00 |
|
Vadim Dalecky
|
a6ee928471
|
Merge pull request #561 from streamich/fix-#550
fix: make useLockBodyScroll support iframes
|
2019-08-25 13:39:50 +02:00 |
|
semantic-release-bot
|
9c56ce93ee
|
chore(release): 11.1.0 [skip ci]
# [11.1.0](https://github.com/streamich/react-use/compare/v11.0.2...v11.1.0) (2019-08-25)
### Features
* 🎸 add useHarmonicIntervalFn() hook ([d9f21e3](https://github.com/streamich/react-use/commit/d9f21e3))
v11.1.0
|
2019-08-25 11:10:53 +00:00 |
|
Vadim Dalecky
|
b17f5754bb
|
Merge pull request #562 from streamich/use-harmonic-interval
Use harmonic interval
|
2019-08-25 13:07:58 +02:00 |
|
streamich
|
3bb525a5e1
|
docs: ✏️ fix Storybook useHarmonicIntervalFn() link
|
2019-08-25 13:05:10 +02:00 |
|
streamich
|
e6dd5de395
|
docs: ✏️ add useHarmonicIntervalFn() hook documentations
|
2019-08-25 13:03:01 +02:00 |
|
streamich
|
d9f21e30e1
|
feat: 🎸 add useHarmonicIntervalFn() hook
|
2019-08-25 12:52:03 +02:00 |
|
xobotyi
|
2617d74b8a
|
fix: #550
|
2019-08-25 07:41:33 +03:00 |
|
Vadim Dalecky
|
a851e90408
|
style: TSLint and .editorconfig improvements
|
2019-08-24 01:37:45 +02:00 |
|
xobotyi
|
9577d63ec2
|
editorconfig:
- typescript rules separated from others;
- more alignment rules;
|
2019-08-24 01:57:29 +03:00 |
|
xobotyi
|
c0a5970e1f
|
.editorconfig:
- Force if-else braces placement;
tslint:
- Allow leading underscore;
|
2019-08-24 01:24:22 +03:00 |
|
Vadim Dalecky
|
f31792b503
|
ci: tirgger GitHub Actions CI only on PRs
|
2019-08-23 21:32:36 +02:00 |
|
semantic-release-bot
|
8c2658f8e1
|
chore(release): 11.0.2 [skip ci]
## [11.0.2](https://github.com/streamich/react-use/compare/v11.0.1...v11.0.2) (2019-08-23)
### Bug Fixes
* **useSetState:** memoize setState callback ([0275329](https://github.com/streamich/react-use/commit/0275329))
* **useSetState:** memoize setState callback ([16f023f](https://github.com/streamich/react-use/commit/16f023f))
v11.0.2
|
2019-08-23 19:05:48 +00:00 |
|
Vadim Dalecky
|
530ff7b2f8
|
ci: add GitHub Actions CI
|
2019-08-23 21:03:58 +02:00 |
|
Vadim Dalecky
|
0275329df6
|
fix(useSetState): memoize setState callback
|
2019-08-23 21:01:52 +02:00 |
|
semantic-release-bot
|
ff07a6bb12
|
chore(release): 11.0.1 [skip ci]
## [11.0.1](https://github.com/streamich/react-use/compare/v11.0.0...v11.0.1) (2019-08-23)
### Bug Fixes
* correct useSpring() hook behaviour ([d7a622d](https://github.com/streamich/react-use/commit/d7a622d))
v11.0.1
|
2019-08-23 18:57:02 +00:00 |
|
Vadim Dalecky
|
d7a622d7cf
|
fix: correct useSpring() hook behaviour
Add tests for "Animation" block.
|
2019-08-23 20:54:14 +02:00 |
|
Tyler Swavely
|
c60ee96be1
|
chore(useSetState): check useSetState for memoized callback
|
2019-08-23 10:35:05 -07:00 |
|
Tyler Swavely
|
16f023fc66
|
fix(useSetState): memoize setState callback
|
2019-08-23 00:02:35 -07:00 |
|
Anton Zinovyev
|
c73e92fbb5
|
Merge pull request #556 from mitchheddles/patch-1
Removed prepended window from setTimeout
|
2019-08-23 09:28:43 +03:00 |
|
Mitchell Heddles
|
99cb994d45
|
Fixed ref type definition
|
2019-08-23 16:23:46 +10:00 |
|
Mitchell Heddles
|
698399938d
|
Removed prepended window from setTimeout
|
2019-08-23 16:08:04 +10:00 |
|
Mario Beltrán Alarcón
|
1f28a76fc3
|
Add useTween tests
|
2019-08-22 23:23:12 +02:00 |
|
Mario Beltrán Alarcón
|
115fd73957
|
Get updated useTimeout tests and remove unnecessary outer describe block
|
2019-08-22 22:12:03 +02:00 |
|
Mario Beltrán Alarcón
|
5c50ad39da
|
Merge branch 'original-master' into animation-block-tests
# Conflicts:
# src/__tests__/useTimeout.test.ts
|
2019-08-22 22:10:59 +02:00 |
|
Renovate Bot
|
3b6b72385a
|
chore(deps): update dependency semantic-release to v15.13.24
|
2019-08-22 19:41:05 +00:00 |
|
semantic-release-bot
|
a656c15f57
|
chore(release): 11.0.0 [skip ci]
# [11.0.0](https://github.com/streamich/react-use/compare/v10.8.0...v11.0.0) (2019-08-22)
### Features
* add cancel and reset methods to useTimeout ([283045a](https://github.com/streamich/react-use/commit/283045a))
* add useTimeoutFn ([284e6fd](https://github.com/streamich/react-use/commit/284e6fd))
### BREAKING CHANGES
* useTimeout now returns a tuple
v11.0.0
|
2019-08-22 08:59:02 +00:00 |
|
Vadim Dalecky
|
283045a0ee
|
feat: add cancel and reset methods to useTimeout
BREAKING CHANGE: useTimeout now returns a tuple
|
2019-08-22 10:45:44 +02:00 |
|