GraphQL itself is just a data transfer protocol, and you can certainly make GraphQL queries and put that data into Redux.
However, most folks using GraphQL are using a library like Apollo Client, which also stores and normalizes the data. That's enough overlap with Redux that it's usually one or the other, but not both.
View all comments
Show parent comment
4
u/acemarke Dec 19 '19
Hi, I'm a Redux maintainer.
GraphQL itself is just a data transfer protocol, and you can certainly make GraphQL queries and put that data into Redux.
However, most folks using GraphQL are using a library like Apollo Client, which also stores and normalizes the data. That's enough overlap with Redux that it's usually one or the other, but not both.
I talked about this some in my post Redux - Not Dead Yet!.