A function that takes any value and produces a diff between that value and the value the node is being compared to.
This can be used to compute a diff optimistically.
This is marked as unstable because the API may need to evolve as we iterate on the advanced version control functionality. It will be stabilised when that project has matured.
Whether the current value is different to the value the node is being compared to.
OptionalcompareThe value the node is currently being compared to. This is taken from the upstream version, if the document has an upstream version. Otherwise, it's taken from the document's current value.
You can use the hasUpstreamVersion prop to determine whether the document has an upstream
version.
OptionaldisplayOptionalfocusedWhether the node is focused.
The focus path of the form node.
BetagroupsWhether the document has an upstream version.
The unique identifier of the node.
The level of the node in the form hierarchy.
BetamembersThe path of the node in the form hierarchy.
BetapresenceOptionalreadWhether the node is read-only.
The schema type of the node.
The validation markers of the node.
The value of the node.
Hidden