6 Commits

Author SHA1 Message Date
Ayush Goyal
67d65833d9 chore: disable eslint for affected files 2020-02-04 07:12:19 +05:30
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
streamich
f5faba515d fix: 🐛 don't throw only in development
Throwing changes behaviour of the code, other code may rely on this
behaviour, so we either throw in all environments or console.error
instead.

BREAKING CHANGE: 🧨 error is logged instead of thrown in development environment
2019-03-26 11:20:42 +01:00
streamich
cdc5ec596d refactor: 💡 use import hooks from React proper 2018-12-16 11:02:52 +01:00
streamich
3c1e57d60e perf: ️ wrape useGetSetState callbacks in useCallback 2018-10-29 17:46:28 +01:00
streamich
dcd1013736 feat: 🎸 add useGetSetState 2018-10-29 17:41:34 +01:00