W001
A prop or .value used to compute something in the component body outside derived/watch/JSX/handlers (the body runs once). const x = props.y and destructuring only name the prop and stay live.
Fix: Wrap in derived, move into watch, or untrack() if a snapshot is intended.
Status in weft@0.1.0: reported, suggested edit.
Triggers it:
tsx
export function A({ items }: any) { const n = items.length + 1; return <p>{n}</p> }More: weft docs props.