Skip to content
Discussion options

You must be logged in to vote

You're using a bad pattern in your site that is the cause of the issue: https://www.gatsbyjs.com/docs/creating-and-modifying-pages/#performance-implications

Instead of querying everything in gatsby-node.js and passing node in context:

https://github.com/bifolia/frontend/blob/dd538cbc191e517f621b2924cda51f63f6bacafd/gatsby-node.js#L58-L109

You should only pass a unique identifier and use that as a GraphQL variable in the query of the template.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@LekoArts
Comment options

@jonhue
Comment options

@LekoArts
Comment options

@jonhue
Comment options

@LekoArts
Comment options

Answer selected by LekoArts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #30693 on April 06, 2021 07:03.