querying with apollo: render props vs hooks

2020-05-05

 | 

~5 min read

 | 

806 words

After we’ve hooked up our Apollo client to React1, we can begin to query the server. Before Hooks, this was done using Render Props.2 Today…

setting up apollo to work with react (and nextjs)

2020-05-04

 | 

~4 min read

 | 

770 words

Things we’ll be covering: Creating an Apollo Client Connecting the client to React Creating An Apollo Client I’m working in NextJS, so my…

graphql query forwarding

2020-05-03

 | 

~1 min read

 | 

149 words

In GraphQL if your queries are the same going from the client to the GraphQL server and the GraphQL server to the backend (e.g., React…

resolving graphql queries against a data layer

2020-05-02

 | 

~4 min read

 | 

621 words

Recently, I wrote about prototyping graphql queries without connecting to a data layer. At some point, however, the goal is to actually be…

constants to the left

2020-05-01

 | 

~1 min read

 | 

162 words

Hear ye, hear ye, by royal decree, I hereby declare: when evaluating, put constants on the left Okay, so this isn’t actually a decree and…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!