xobotyi
b6993a6f95
feat(prettier): make prettier a part of eslint.
...
Also reduce max line width to 100. And remove `lint:types` step for
commit sequence, it bothers when committing incomplete (wip) changes.
2021-02-01 18:58:55 +03:00
Renovate Bot
a27f09fd36
chore: refactoring and rearrangement.
...
More DRY code. Also move non-hooks to separate directories.
BREAKING CHANGE: all `create*` factories been moved to `factory` subdirectory and in case direct import should be imported like `react-use/esm/factory/createBreakpoint`
BREAKING CHANGE: `comps` directory renamed to `component`
2021-01-30 23:30:26 +03:00
ddaza
3ce080cdf3
updated prettier and eslint
2020-07-02 14:19:03 -05:00
Ayush Goyal
67d65833d9
chore: disable eslint for affected files
2020-02-04 07:12:19 +05:30
Yingtao Su
e65338372a
feat(useCounter): reset to the newest initialValue ( #667 )
2019-11-10 20:05:34 +01:00
xobotyi
befcf84c2c
feat(useCounter): reworked with use of new resolveHookState function plus improved memory usage;
...
feat(resolveHookState): improved types;
2019-10-31 04:48:30 +03:00
xobotyi
1628e57175
Implemented #273 ;
...
Added runtime type checks;
Tests for all that stuff;
Docs;
2019-08-14 02:49:53 +03:00
Ankith Konda
f02b92d423
Add TSLint + Prettier and fix lint issues
2019-04-12 23:18:11 +10:00
streamich
cdc5ec596d
refactor: 💡 use import hooks from React proper
2018-12-16 11:02:52 +01:00
streamich
395e82b03b
feat: 🎸 improve useCounter interface
...
BREAKING CHANGE: useCounter interface changed
2018-10-29 18:42:47 +01:00
streamich
79e5b8caef
feat: 🎸 add useCounter hook
2018-10-27 02:37:02 +02:00