---
title: "Comment by Vipin Gautam on \"Should I totally ditch redux API for context API?\" | Hashnode"
description: "Hello , may you tell more about when to use redux and when to use Context...means the use cases , how to differentiate between them. Thank you"
url: "https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b/comment/606c1261b17dc439b747e6f7"
---

[Discussion](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b)

Comment [Should I totally ditch redux API for context API?](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b)

[Vipin Gautam](https://hashnode.com/@noob-dev)

[Apr 6, 2021](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b/comment/606c1261b17dc439b747e6f7)

Hello , may you tell more about when to use redux and when to use Context...means the use cases , how to differentiate between them. Thank you

[Adedipe Oluwatobi](https://hashnode.com/@adedipe)

[Apr 6, 2021](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b/comment/606c1261b17dc439b747e6f7#reply-606c6af7b17dc439b747ee5f)

useContext can be used when your app isn't very complex, for example if you want to use a variable in multiple files, and you know that the value of that variable is going to be the same across those files. You can add useReducer if you need to have a moderately complex state management in your app, for example if you're fetching some data from an external API and you want to be able to manage how you dispatch actions. Redux would work better if, your app state is updated frequently, logic to update the state is complex. etc.

this blog post goes into further details

[blog.isquaredsoftware.com/2021/01/context-redux-d…](https://blog.isquaredsoftware.com/2021/01/context-redux-differences/)

[Vipin Gautam](https://hashnode.com/@noob-dev)

[Apr 6, 2021](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b/comment/606c1261b17dc439b747e6f7#reply-606caaf61ed1783ab063822f)

[Adedipe Oluwatobi](https://hashnode.com/@adedipe) Thanks , but i like context as i only know this ,,, : )

[Adedipe Oluwatobi](https://hashnode.com/@adedipe)

[Apr 6, 2021](https://hashnode.com/posts/should-i-totally-ditch-redux-api-for-context-api/606ad0581ed1783ab063550b/comment/606c1261b17dc439b747e6f7#reply-606cc52eb17dc439b747f6d8)

[Vipin Gautam](https://hashnode.com/@gauti) Haha, you're welcome. I actually love context, its easier to understand. A use case i think i mentioned in the post is if you want to update or use your state outside of a functional component, context doesn't really work for that.
