News for hackers. Stuff that matters.
Re:Facebook’s GraphQL gets its own open-source foundation by hamandcheese on Wednesday November 07, 2018 @02:41AM (#18397631)
GraphQL is not comparable to Firebase, it is comparable to implementing your own REST/gRPC/Thrift API.

When comparing apples to apples, GraphQL is amazing for rapidly iterating.

I think the biggest risk with GraphQL is it’s too easy to just mirror your data structures as an API.

Also, unrelated to the above, but we use Firebase for a few auxiliary real-time needs at work and it goes down constantly.

Re:Facebook’s GraphQL gets its own open-source foundation by he0001 on Wednesday November 07, 2018 @04:23AM (#18398019)
>When comparing apples to apples, GraphQL is amazing for rapidly iterating.

Rapidly iterating what?

Re:Facebook’s GraphQL gets its own open-source foundation by hamandcheese on Wednesday November 07, 2018 @11:33AM (#18400216)
Mostly the frontend. I’m comparing to a React+Redux+REST app where for every new resource you have to:

- create a new action - turn that action into requests via some middleware - denornalize and put in your store - maybe write a selector to get the data you need from your store