DEV Community

Discussion on: Adios Redux: using React hooks and Context effectively

Collapse
 
ankitjey profile image
Ankit Jena

Hey Mario,
Sorry for the late reply. You don't have to wrap all the components separately. Also yes there's no need to wrap the 3rd component. The provider is similar to connect function, in Redux we generally combine the reducers.

Collapse
 
melitus profile image
Aroh Sunday

Hey Ankit,

Thanks for your response to the above question by Mario. What is the best way to wrap the without incurring performance issues? Thanks