You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
Tag nodes are created in onCreateNode, which is intended to extend or transform nodes created by other plugins. This implicitly assumes that every node created has a parent node that is properly linked form the newly created node. This assumption is wrong for tag nodes. Tag nodes do not have a single parent node. Therefore, parent is not set and tag nodes get removed from cache.
See this issue comment: reflexjs/reflexjs#39 (comment).
Tag nodes are created in
onCreateNode
, which is intended to extend or transform nodes created by other plugins. This implicitly assumes that every node created has a parent node that is properly linked form the newly created node. This assumption is wrong for tag nodes. Tag nodes do not have a single parent node. Therefore, parent is not set and tag nodes get removed from cache.See gatsbyjs/gatsby#11785 and gatsbyjs/gatsby#12981.
Try
sourceNodes
lifecycle method.The text was updated successfully, but these errors were encountered: