pangea-poker icon indicating copy to clipboard operation
pangea-poker copied to clipboard

Refactor elements wrapped in DispatchContext and StateContext

Open piggydoughnut opened this issue 4 years ago • 1 comments

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/

piggydoughnut avatar May 28 '20 06:05 piggydoughnut

I tried to figure this one one, but couldn't. Would be interested to see your solution @piggydoughnut.

norbertdragan avatar May 28 '20 10:05 norbertdragan