16 Commits

Author SHA1 Message Date
xobotyi
5a5a5755bc
fix: lint issues. 2021-04-06 11:38:36 +03:00
Anton Zinovyev
5bd35c19d1
Merge pull request #1485 from Acmu/patch-1
`setState` is unnecessary in deps
2021-04-06 11:26:36 +03:00
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
MinYuan
f0d05c665a
setState is unnecessary in deps 2020-09-02 07:42:36 +08:00
ddaza
3ce080cdf3 updated prettier and eslint 2020-07-02 14:19:03 -05:00
xobotyi
9577d63ec2 editorconfig:
- typescript rules separated from others;
- more alignment rules;
2019-08-24 01:57:29 +03:00
Tyler Swavely
16f023fc66 fix(useSetState): memoize setState callback 2019-08-23 00:02:35 -07:00
streamich
70697d9626 style: 💄 fix linting error 2019-05-30 19:57:10 +02:00
Kier Borromeo
eeb05e90db
Fix useSetState callback parameter type 2019-05-30 07:05:52 +08:00
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
landong.lk
83611a11f9 fix: useSetState bug 2019-02-22 16:09:16 +08:00
streamich
524abe5702 fix: 🐛 fix useSetState after React update
As reported in #107

Issues: #107
2019-02-17 09:19:40 +01:00
streamich
cdc5ec596d refactor: 💡 use import hooks from React proper 2018-12-16 11:02:52 +01:00
Li Yan
bfd114a407 feat: allow useSetState setter to accept function
* make setState of useSetState accept function argument

* update storybook
2018-11-02 08:50:04 +01:00
streamich
4336aa1ab1 feat: 🎸 add useAudio hook 2018-10-28 10:25:31 +01:00
streamich
972541dad6 feat: 🎸 add useSetState hook 2018-10-28 00:09:58 +02:00