Trigger Count: {triggerCount}
Status: {nonIdempotentComputed}
Run Count: {nonIdempotentCounter}
Array Length: {nonIdempotentArray.get().length}
{JSON.stringify(nonIdempotentArray.get(), null, 2)}
Status: {idempotentComputed}
Run Count: {idempotentCounter}
Unique Keys:{" "} {Object.keys(idempotentMap.get()).length}
{JSON.stringify(idempotentMap.get(), null, 2)}
Non-Idempotent:{" "} Always appends to array → changes data → triggers re-run → appends again → infinite loop
Idempotent:{" "} Checks if key exists before writing → no change after first run → system settles
Key Insight:{" "} Side effects in computed() must be idempotent (same inputs = same state) to avoid thrashing