pangea-poker
pangea-poker copied to clipboard
Refactor elements wrapped in DispatchContext and StateContext
It should be enough only to wrap <App /> to make dispatch and context available in all the other underlying components.
https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/
I tried to figure this one one, but couldn't. Would be interested to see your solution @piggydoughnut.