From 3e05ed84f58f2bb6f93dbcf109d6739ebf28c052 Mon Sep 17 00:00:00 2001 From: Muescha <184316+muescha@users.noreply.github.com> Date: Thu, 7 Jan 2021 14:39:53 +0100 Subject: [PATCH] doc(node-creation): fix brand name --- docs/docs/node-creation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/node-creation.md b/docs/docs/node-creation.md index 596ef4fc31b0e..ce605abe0e7d5 100644 --- a/docs/docs/node-creation.md +++ b/docs/docs/node-creation.md @@ -67,9 +67,9 @@ Any nodes that aren't touched by the end of the `source-nodes` phase, are delete ## Changing a node's fields -From a site developer's point of view, nodes are immutable. In the sense that if you change a node object, those changes will not be seen by other parts of Gatsby. To make a change to a node, it must be persisted to redux via an action. +From a site developer's point of view, nodes are immutable. In the sense that if you change a node object, those changes will not be seen by other parts of Gatsby. To make a change to a node, it must be persisted to Redux via an action. -So, how do you add a field to an existing node? E.g. perhaps in onCreateNode, you want to add a transformer specific field? You can call [createNodeField](/docs/reference/config-files/actions/#createNodeField) and this will add your field to the node's `node.fields` object and then persists it to redux. This can then be referenced by other parts of your plugin at later stages of the build. +So, how do you add a field to an existing node? E.g. perhaps in onCreateNode, you want to add a transformer specific field? You can call [createNodeField](/docs/reference/config-files/actions/#createNodeField) and this will add your field to the node's `node.fields` object and then persists it to Redux. This can then be referenced by other parts of your plugin at later stages of the build. ## Node Tracking