gaearon / ama

Ask me anything!
222 stars 5 forks source link

Redux and GraphQL #87

Closed hunterc closed 8 years ago

hunterc commented 8 years ago

Recently started working a redux + GraphQL library. Currently it uses normalizr (thanks by the way) and an introspection query to generate schemas on the fly and a middleware to handle calling GraphQL.

What are your thoughts on Redux in the new Relay, colocated data world?

gaearon commented 8 years ago

I think declarative data fetching is the future but I also like having reducers for local updates. I think some mix of those solutions will likely eventually gain popularity, whether it ends up in Relay or other libraries.