queen.raae.codes · a developer’s logbook
← The log
1 min read

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

Written in 2021, 4 years ago. Tools and advice may have moved on since.

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.

Join the crew!

All the shenanigans from me and my piratical family, straight to your inbox.

Search the log

↑↓ to move · Enter to open · Esc to close All entries →