Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 852 Bytes

Frontend.md

File metadata and controls

12 lines (9 loc) · 852 Bytes
title layout permalink position
Frontend
faq
/faq/frontend
5

Does GraphQL replace Redux or other state management libraries?

No, GraphQL isn’t a state management library - but it can reduce the need for one.

One benefit of state management libraries like Redux is that they can manipulate API responses into a format that your application understands. With GraphQL, you have control over what data you request and typically results are formatted in a client-friendly way by the graph design. So this benefit is already built-in. Many client libraries can also be used to manage state and have features like caching built-in. You may still decide to implement a state management library, but using it to format response data is generally not necessary.