DEV Community

Discussion on: Redux VS React Context: Which one should you choose?

Collapse
 
rochadsouza profile image
rochadsouza

Hi @ibrahima92 , thank you so much for this post. I loved the idea however is a bit difficult to implement by using typescript (due to provider prop (value) type).

Collapse
 
buka4rill profile image
Ebuka Abraham

I had the same problem implementing Context API and useReducer with Typescript in a React Native app, because there wasn't too much information on how to do it properly. But I figured it out after an intense amount of research. I might write an article on how I did it.