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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.