Did you know GraphiQL in Gatsby can export code for you?

An email sent by Queen Raae 👑 on December 10th, 2021

Hello there,

Working through Mirjam's markdown homework on yesterday's stream, I remembered how empowered I felt when I found out there is an Export code feature in Gatsby's GraphiQL.

I decided to pay it forward, and our Great and Powerful Pirate Guest, Swizec was flabbergasted...

Wow, is that new? That is so cool!

Screengrab of the stream where we demo the export code feature

You can choose to export

  • Page Query code, Screengrab showing off the Page Query export

  • StaticQuery hook code, Screengrab showing off the StaticQuery hook export

  • or StaticQuery component code. Screengrab showing off the StaticQuery hook export

Did you know?
Do you use it?

All the best,
Queen Raae

PS: If you would like to be notified 30 minutes before the next stream, sign up for stream reminders.

I send emails like this one to help you get the most out of Gatsby multiple times a week. Sign up to get them delivered to your inbox.