loading...

re: Refactoring useState() To useReducer() VIEW POST

TOP OF THREAD FULL DISCUSSION
re: During reading this article, I came up with an idea of what it might look like using a new vue 3 composition API. And here we go: <template&g...
 

Oooo thanks for sharing your approach in Vue. I agree that useReducer() makes the hooks logic more reusable/DRY than useState() but that both approaches achieve the same thing.

code of conduct - report abuse