apenab opened this issue 5 years ago · 2 comments
I think you can also optimize the code by changing the useState by useReducer and that way you have a cleaner state management.
useState
useReducer
Thanks, good suggestion
Via 1.1.1