Create a Gatsby Page With Hard-Coded Data

Share this video with your friends

Send Tweet

Why does Gatsby use GraphQL? This is part 2 of a 4-part series that shows how to create pages in Gatsby, how data becomes hard to manage over time, and how GraphQL helps limit the complexity of data management.

In this video, you’ll create a page by hard-coding data into the context, then accessing it via the pageContext prop that Gatsby will pass to the template React component.