DEV Community

Discussion on: State management using only React Hooks

Collapse
vuesomedev profile image
Gábor Soós

Handy function, thanks for sharing.

My first thought when passing down the state and dispatch method was to use a specific context for it.