streamich
|
3cf4f44d62
|
style: 💄 run Prettier
|
2020-01-17 09:25:26 +01:00 |
|
MHA15
|
baab9df948
|
fix ts definition to get no argument for dispatch function
|
2019-12-15 18:30:41 +03:30 |
|
MHA15
|
036d1c2f1f
|
fix import problems
|
2019-12-15 18:16:55 +03:30 |
|
MHA15
|
cb0ed5f758
|
change useUpdate hook to use reducer instead of state + callback
if we using reducer instead of useState then we don't need a useCallback and it's performance will increase
|
2019-12-15 12:44:51 +03:30 |
|
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 |
|