Query an API using GraphQL in JavaScript

Dr. Derek Austin 🥳
1 min readSep 27, 2019

Thanks for the great article Riccardo Giorato !!! I really enjoyed seeing the new hooks from the apollo update.

This code just oozes cool:

Thanks again!

PS Your second file, the App.js, isn’t showing up. You have to copy-paste it over to a Gist (gist.github.com) and then embed the public Gist. Embedding straight from Github won’t work.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

Responses (1)