OHHAKO / reatsby

React + Gatsby :smile:
https://ohhako.github.io/react-app/
1 stars 0 forks source link

refactor: load data using GraphQL #13

Open kkyueing opened 4 years ago

kkyueing commented 4 years ago

Although Gatsby doesn't require us to use GraphQL, it is recommended most of the time, according to the tutorial.

After implement #12, it would be a logical next step to extract out hard-coded data into separate data files, such as *.json and *.yaml.

OHHAKO commented 4 years ago

I heard that gatsby data layer is powered by graphQL. Hope that data transformation is easy and type is better good for compatibility