One of the most genius things that the creators of GraphQL ever did was give us GraphiQL. GraphiQL is an in-browser tool that you can use to send queries to a GraphQL API. To start working with GraphQL, you don't have to build a server. You don't have to write a parser. You don't have…
Continue Reading →Many of the most common misconceptions about GraphQL have to do with the whereabouts of data. It's often thought of as a database. It's often thought of as a replacement to REST. It's often associated with a certain type of database. The real deal is that GraphQL can be placed in…
Continue Reading →One popular misconception about GraphQL is that you have to tear down all of your REST APIs in order to build a GraphQL server. The flexibility of GraphQL allows you to use all of your favorite REST data sources while enjoying the organizational benefits of a GraphQL schema. In this…
Continue Reading →When you build a GraphQL API, you provide a lot of freedom and flexibility to your clients. They have the flexibility to query data from multiple sources in a single request. They also have the ability to request large amounts of related, or connected, data in a single request. Left…
Continue Reading →GraphQL fields can return lists and objects, but of course, they can also return singular values. These are called scalar types . A scalar in computer science represents a single variable, an atomic unit that can hold one value at a time. A lot of data for our apps falls into the…
Continue Reading →A GraphQL schema is a tool for communication across teams. When we work together to define a schema with the schema definition language, we're deciding how everyone using our API will consume the data. We want to make it as clear and simple as possible for consumers to send operations…
Continue Reading →This is an excerpt from our book, Learning React . The second edition will be coming out this summer! When you start to explore React, you'll likely notice that the topic of functional programming comes up a lot. Functional techniques are being used more and more in JavaScript…
Continue Reading →