loading...

Discussion on: Refactoring useState() To useReducer()

Collapse
m0nica profile image
Monica Powell Author

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.