8 Commits

Author SHA1 Message Date
Vadim Dalecky
ca43b80357
refactor: simplify counter increment in useUpdate 2019-12-06 00:14:10 +01:00
Olzhas Alexandrov
93e72910ab fix: useUpdate hitting maxInt, failing to trigger rerender
Signed-off-by: Olzhas Alexandrov <olzhas@alexandrov.co>
2019-12-05 17:04:09 -06:00
xobotyi
0f02fd093a feat(useUpdate): improve memory usage - now single function instance to increment all counters; 2019-10-30 15:36:02 +03:00
Mario Beltrán
af7e61b5cf
Fix useUpdate returned callback (#570) 2019-08-30 11:00:29 +02:00
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
streamich
e926faf909 fix: 🐛 new React behaviour needs useState to set something
Issues: closes #128
2019-02-25 12:13:23 +01:00
streamich
cdc5ec596d refactor: 💡 use import hooks from React proper 2018-12-16 11:02:52 +01:00
streamich
c00f308e95 feat: 🎸 add useUpdate hook 2018-10-29 15:05:16 +01:00