News for hackers. Stuff that matters.
Re:How GraphQL Replaces Redux by whalesalad on Tuesday March 13, 2018 @03:09PM (#16578849)
A lot of the new work we do at FarmLogs is built with GraphQL. We've been running some critical apps with it and in a lot of aspects its a real joy. That being said, nested HoC's and the way it is used on the web is not ideal. Perhaps we are using it incorrectly there, but the documentation hasn't been a lot of help.

> You can combine multiple data sources into a central datastore using GraphQL (REST APIs + DB queries etc.., that's one of the major benefits of it.

Would love to see the docs on this because I have yet to find it!

Re:How GraphQL Replaces Redux by asp2insp on Tuesday March 13, 2018 @04:52PM (#16579678)
I think the GP is referring to Apollo Client 2's ability to abstract over the underlying data source. Their intro blog post for the 2.0 announcement gives a good overview: https://dev-blog.apollodata.com/apollo-client-2-0-5c8d0affce...
Re:How GraphQL Replaces Redux by dbetteridge on Tuesday March 13, 2018 @06:30PM (#16580462)
I think they're referring to writing your server-side resolvers, there is no difference between requesting data from a database you own vs an API