Open in app

Sign In

Write

Sign In

Matt Krick
Matt Krick

883 Followers

Home

About

Aug 27, 2021

Upgrading our React app to GraphQL Relay Hooks

We’ve been on a forked version of Relay v8 for a couple years. While the new versions had some neat features, nothing really compelled us to upgrade until now. Relay v11 (the one with hooks) is the biggest release since Relay Modern & it’s amazing. Aside from hooks, it lets…

GraphQL

6 min read

Upgrading our React app to GraphQL Relay Hooks
Upgrading our React app to GraphQL Relay Hooks
GraphQL

6 min read


Published in

Level Up Coding

·May 7, 2021

Nesting GitHub’s API in your GraphQL Schema

GraphQL is great. Every GraphQL endpoint agrees to speak the same language of {data, errors} and that makes communication between servers easy. Now suppose two public APIs both speak GraphQL; what advantages can we leverage? Packages like graphql-tools make it easy to merge and stitch schemas together, which allows teams…

GraphQL

6 min read

Nesting GitHub’s API in your GraphQL Schema
Nesting GitHub’s API in your GraphQL Schema
GraphQL

6 min read


Mar 2, 2020

GraphQL Lessons After 4 Years: Scaling Subscriptions

Scaling is relative. When Uber builds a scalable metric service, they build a proprietary database to resolve their queries. When Facebook scales a live feed, they build it to support millions of connected clients. This post is for the rest of us. …

GraphQL

8 min read

GraphQL After 4 Years: Scaling Subscriptions
GraphQL After 4 Years: Scaling Subscriptions
GraphQL

8 min read


Published in

ITNEXT

·Aug 1, 2018

Understand Async Iterators Without Really Trying

Nobody likes a callback. It’s like a modern day equivalent of a GOTO statement. But how can we replace those pesky ones like click handlers? Chances are, you’ve refactored all all the easy ones into async/await statements, but there are still those pesky holdouts like DOM events, WebSockets, event emitters…

JavaScript

7 min read

Understand Async Iterators Without Really Trying
Understand Async Iterators Without Really Trying
JavaScript

7 min read


Published in

HackerNoon.com

·May 3, 2018

GraphQL: 3 Years in, and lessons learned

Back in late 2016 I wrote an article called GraphQL: Tips after a year in production. Since then, GraphQL started offering native subscriptions, Relay got so good you could replace Redux with Relay Modern, and I learned a few neat tricks along the way. I’ve also made a bunch of…

GraphQL

6 min read

GraphQL: 3 Years in, and lessons learned
GraphQL: 3 Years in, and lessons learned
GraphQL

6 min read


Published in

ITNEXT

·Mar 12, 2018

The Definitive Guide to Handling GraphQL Errors

Click here to share this article on LinkedIn » Recently, I screwed up and it resulted in a client getting a white screen when they used our app. Like most apps, we have an initial GraphQL query that fetches a ton, including a list of all your notifications. One of…

JavaScript

7 min read

The Definitive Guide to Handling GraphQL Errors
The Definitive Guide to Handling GraphQL Errors
JavaScript

7 min read


Feb 27, 2018

Replacing Redux with Relay

It’s been almost 2 years since I wrote Replacing Relay with Redux. Since then, Relay added subscriptions, a build-time compiler, a sensible mutations API, and a game-changing client schema. That puts me in an awkward position. On the one hand, we JavaScript developers get a bad wrap for declaring technology…

React

4 min read

Replacing Redux with Relay
Replacing Redux with Relay
React

4 min read


Published in

HackerNoon.com

·Jan 9, 2018

The Hybrid Strategy for GraphQL Subscriptions

Subscriptions are really hard. That’s what makes them fun. It’s been a few months since GraphQL & Relay have supported them, and still examples are sparse. The worst part? The ones that do exist use patterns that will give you a headache if you try to implement them in your…

JavaScript

8 min read

The Hybrid Strategy for GraphQL Subscriptions
The Hybrid Strategy for GraphQL Subscriptions
JavaScript

8 min read


Jul 11, 2017

Evented Subscriptions in Relay Modern

I finally added Relay Modern to my production build and I gotta say… I dig it. When Relay Classic was first released, I poked a lot of fun at it and even made my own client cache (with redux & subscriptions). The new version beautifully shuts me up. …

JavaScript

7 min read

Evented Subscriptions in Relay Modern
Evented Subscriptions in Relay Modern
JavaScript

7 min read


Published in

Parabol Focus

·Mar 8, 2017

Unit test your DB with GraphQL and Jest

Recently, I built out billing and invoicing functionality for our small, open-source SaaS app (look out world, we got ourselves a business model!). The added functionality expanded the codebase by something like 45% and errors crept in like gophers to a carrot patch. Now, we’re already pretty good about reactively…

JavaScript

7 min read

Unit test your DB with GraphQL and Jest
Unit test your DB with GraphQL and Jest
JavaScript

7 min read

Matt Krick

Matt Krick

883 Followers

Building the future of work

Following
  • Heidi Roizen

    Heidi Roizen

  • AirbnbEng

    AirbnbEng

  • Deepal Jayasekara

    Deepal Jayasekara

  • Parabol, Inc.

    Parabol, Inc.

  • Jordan Husney

    Jordan Husney

See all (24)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech