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
carlos
062e60663d
Resolve #934 : useAsyncFn: keeping the previous state when start running the async function
2020-01-30 18:03:54 +08:00
Vadim Dalecky
58c4fb1f38
Merge pull request #788 from dubzzz/pr/fix-useasyncfn-not-discarding-previous-calls
...
fix: useAsyncFn does not discard old promises and might produce races
2019-11-20 17:13:26 -08:00
Nicolas DUBIEN
022fa0b7b7
fix: useAsyncFn does not discard old promises and might produce races
2019-11-21 00:48:10 +01:00
Nicolas DUBIEN
53164864b7
Fix typing issues in useAsyncFn
...
The callback passed to useAsyncFn is supposed to be callable without any parameters too :/
According to its type definition
2019-11-21 00:14:08 +01:00
Anton Zinovyev
8de2a3ee13
chore: move tests to top level /tests folder
...
chore: move all the tests to the separate directory outside of sources;
chore: remove jest.config.js (config moved to the package.json);
test: unused import in test;
test: 💍 fix tests add back x and y to useMeasure
chore: 🤖 add linter to /tests folder
ci: 🎡 limit Jest worker count for CircleCI
2019-11-08 16:55:34 -05:00