Skip to main content

Variable

Deprecated

This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.

Deprecated first-generation named app-wide variable node; superseded by Variable2 and Set Variable.

The original read/write node for the named app-wide variable store, with an explicit store (Set) signal to commit its value input. It is superseded by Variable2 (shown as 'Variable' in the picker), which writes whenever its value input receives data, together with Set Variable for explicit signal-driven writes with type control. Both read and write the same underlying store as this node.

When to use it​

Do not use in new graphs — use Variable2 to read and write a named variable, and Set Variable for explicit signal-driven writes.

At a glance​

CategoryData
Type nameVariable
Available inbrowser
SSR compatibilitysafe
Provided bynoodl-viewer-react
Behaviour specnot written yet

Inputs​

Values​

NameTypeDefaultDescription
nameString (VariableName id)——
value*——

Signals​

NameTypeDefaultDescription
fetchSignal——
storeSignal——

Outputs​

Values​

NameTypeDefaultDescription
nameString——
value*——

Signals​

NameTypeDefaultDescription
changedSignal——
fetchedSignal——
storedSignal——

Code export​

Does not export to React yet. A project that uses it exports with this node named in the export report.

Why: deliberately out of scope — the type is deprecated in the catalog, so nobody building today is offered one. A project that still holds one exports it as a named deferral, which is the right answer for a node its own editor has retired.

How export works shows what an export writes, with a worked example.

Generated

This page is generated from node-catalog-enriched.json, the node's spec in packages/nodegx-node-spec and the export ledger. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source instead.