I'm working with a codebase where #GraphQL queries are shared and reused between
components. And some even include "all fields from sub-entity" fragments. Isn't
this an anti-pattern? Shouldn't every component request exactly the fields it
needs?
#GraphQL
16 tweets
#GraphQL Anti-Pattern: not expressing a graph, but doing REST all over again.
Keep your top level Query lean!
Ohh, I really like this proposal to add the ? as a new ECMAScript operator:
https://github.com/tc39/proposal-optional-chaining
The example here is from https://github.com/Microsoft/TypeScript/issues/30167
and motivated especially by #GraphQL users.


In 2019:
- Frameworks and tools don’t last in #JavaScript. Don’t hold on to your current
tools too tightly. - #React will be the dominant framework.
- You’ll need to learn #GraphQL.
- Somebody on your team will bring in #TypeScript.
https://twitter.com/npmjs/status/1070773962945245184
Facebook’s #GraphQL gets its own #opensource foundation
https://techcrunch.com/2018/11/06/facebooks-graphql-gets-its-own-open-source-foundation/
If you are there check out our preview for a new feature for
http://nRFCloud.com: an #iot device API that lets you build connected
experiences using the web-technologies your are familiar with: #REST, #GraphQL
and #webhooks! https://twitter.com/NordicTweets/status/997162384425807872
.@heitor_lessa now demoing how to build
real-time and offline-capable serverless aps using #graphql on
@awscloud. #AWSSummit
.@arnejenssen kicks off his #graphql talk
@_bartjs
Arrived @_bartjs It starts with Pizza, and then
some #graphql. Closing with #musicvizualization. #JavaScript #Trondheim


#Javascript meetup #Trondheim: #GraphQL & Musikkvisualisering på 15. Mars
med @arnejenssen og
@mollerse
https://www.meetup.com/de-DE/BartJS/events/247343583/
@PatrickHeneise
@asciidisco #graphql is "just" a schema for
accessing data. You implement the mapping to your datastore yourself (or using
existing mappers).
TIL: #graphql has mutations which allow updating resources:
http://graphql.org/learn/queries/#mutations
https://launchpad.graphql.com/ is a #GraphQL REPL.





