loading...

re: Understanding Gatsby's Lifecycle VIEW POST

FULL DISCUSSION
 

Great post, finally the explanation of of gatsby-*.js files.
But I still didn't get the difference between gatsby-node and gatsby-ssr. They seem to do the same job - generate a static page for the end user. Why split these hooks into two files?

 

As I understand, the different between node and ssr is about layers. Imaging gatsby was not a building tools but a server with node as backend and have a ability to do ssr.

code of conduct - report abuse