DEV Community 👩‍💻👨‍💻

Hunter Chang
Hunter Chang

Posted on

Fetching Dynamic Data with Gatsby.js

Gatsby.js is more than just an awesome static site generator, it can also fetch data dynamically like you would with Create React App. We explore what that dynamic data fetching looks like and peak at the compiled code to see the difference between the dynamic and static data in Gatsby.

The next time you start a project, before reaching for Create React App try reaching for Gatsby instead! You can do all the same things (like hooks!) but it comes with amazing performance and SEO benefits!


Follow Me On:

Top comments (3)

dance2die profile image
Sung M. Kim

I've always thought Gatsby as a static site generator, thus a dynamic data fetching was not possible as I mistakenly thought all data fetch should go thru GraphQL normalization.

Thank you, Hunter, as the tutorial opened my eyes to the dynamic world of Gatsby, as well.

changoman profile image
Hunter Chang

Nice! Very glad that this was helpful.

ajarouih profile image
Aymen Jarouih

Thanks for this tut Hunter, simple as always!

All DEV content is created by the community!

Hey, if you're landing here for the first time, you should know that this website is a global community of folks who blog about their experiences to help folks like you out.

Sign up now if you're curious. It's free!