---
title: "Comment by Juan Alvarez on \"💥 Introduction to Jotai | The best React state management library?\" | Hashnode"
description: "I only have a question: why would you use Redux or Jotai over the Context API?"
url: "https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563/comment/61080fe867f3446d989038c3"
---

[Discussion](https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563)

Comment [💥 Introduction to Jotai | The best React state management library?](https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563)

[Juan Alvarez](https://hashnode.com/@Juanzen)

[Aug 2, 2021](https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563/comment/61080fe867f3446d989038c3)

I only have a question: why would you use Redux or Jotai over the Context API?

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

[Aug 3, 2021](https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563/comment/61080fe867f3446d989038c3#reply-6108e4beb97c436d241bedc4)

Context API is nice too but I felt this makes it easy to set up. In Context, you would make a provider and then set up the state and then use `useContext`. This one seems easier to set up

[Juan Alvarez](https://hashnode.com/@Juanzen)

[Aug 3, 2021](https://hashnode.com/posts/introduction-to-jotai-the-best-react-state-management-library/6107758833a2a43971a2f563/comment/61080fe867f3446d989038c3#reply-6109a48f725d9303e0351249)

I get what you mean. Using Context API would be like writing my own library at that point. Thank you
