Skip to content
weftGitHub

Diagnostics

S001

A server object or array (q().value, await q.fetch(), or a map, filter or spread of one) copied into state: it goes stale and its rows lose their identity.

Fix: Reference the query and derived from it; store ids; state.linked for edits, untrack for a deliberate snapshot.

Status in weft@0.1.0: reported by weft check.

More: weft docs state.