WhyReason:
    | "recomputed"
    | "directly-set"
    | "no-cause"
    | "did-update"
    | "no-dep-overlap"
    | "object-is-deduped"

Tagged classification for a WhyResult.

Each variant documents the precise condition under which the corresponding explainer returns it.

Type declaration

  • "recomputed"

    whyUpdated: a recomputed derivation.

  • "directly-set"

    whyUpdated: a direct tx.set on the node.

  • "no-cause"

    whyUpdated / whyNotUpdated: no commit in the window touched it.

  • "did-update"

    whyNotUpdated: the latest commit DID update this node.

  • "no-dep-overlap"

    whyNotUpdated: the latest commit's changedNodes don't intersect deps.

  • "object-is-deduped"

    whyNotUpdated: deps recomputed but produced Object.is-equal results.