6 Commits

Author SHA1 Message Date
Arnaud de Surirey
0ce421ced7
fix: useUpdateEffect returns optional cleanup function 2020-01-07 19:08:38 +01:00
Anton Zinovyev
30abe2b22e
feat: add useFirstMountState & useRendersCount hooks (#769)
feat(useFirstMountState): hook to track if render is first;
feat(useRendersCount): hook to track renders count;
refactor(useUpdateEffect): now uses useFirstMountState hook;
refactor(usePreviousDistinct): now uses with useFirstMountState hook;
docs: update readme;
2019-11-23 15:14:35 +03:00
尽龙
8b24df411b fix: useUpdateEffect add return 2019-08-19 15:14:38 +08:00
砖家
1d5cd10fe4
fix: useUpdateEffect run on the wrong time 2019-08-12 23:39:59 +08:00
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
Luis Felipe Zaguini
27e4444dd3
Create useUpdateEffect.ts 2019-03-21 10:07:41 -03:00