---
title: "Comment by Catalin Pit on \"React global state management with Context API (no Redux)\" | Hashnode"
description: "As a React newbie, which one&#39;s better? Or it depends on the situation? Should one use the Context API or Redux?"
url: "https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3/comment/60e7f74b8aaa3f019846bccd"
---

[Discussion](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3)

Comment [React global state management with Context API (no Redux)](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3)

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Jul 9, 2021](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3/comment/60e7f74b8aaa3f019846bccd)

As a React newbie, which one's better? Or it depends on the situation?

Should one use the Context API or Redux?

[Murat Can Yüksel](https://hashnode.com/@muratyuksel)

[Jul 9, 2021](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3/comment/60e7f74b8aaa3f019846bccd#reply-60e826768aaa3f019846c1be)

Hello Catalin, thank you for your comment. Unfortunately, I'm a React newbie and I don't know Redux, so I can't directly answer this question.

But maybe this fact answers something at least. I also heard that Redux is a bit more complicated (which generally means can be used in more complex settings) but I don't know really.

Do you know Redux? If so, what do you think? I'll learn it next for sure, everyone is talking about it :)

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Jul 9, 2021](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3/comment/60e7f74b8aaa3f019846bccd#reply-60e83d9f8aaa3f019846c410)

It depends on the project both work really well. The Context API is probably better for medium sized projects and Redux is better for large scale projects.

Redux is a 3rd party library whereas the Context API is built in so you have to install lots of dependencies which will increase the bundle size. Also Redux has tons of boilerplate and a long setup process because you need to build the store and setup the actions from scratch.

The Context API has significantly less boilerplate so the setup is going to be quicker. However Redux has an extension for dev tools in the browser which makes it easy to see your state and the changes that are made in real time.

[Murat Can Yüksel](https://hashnode.com/@muratyuksel)

[Jul 9, 2021](https://hashnode.com/posts/react-global-state-management-with-context-api-no-redux/60e79e453dc33f032e23c2e3/comment/60e7f74b8aaa3f019846bccd#reply-60e8a8788aaa3f019846ce3e)

thanks for clarification Andrew! [Andrew Baisden](https://hashnode.com/@andrewbaisden)
