Concept Flow - Array and object reactivity gotchas
Initialize reactive array/object
Modify array/object directly
Svelte does NOT detect change
No UI update
Use assignment or methods triggering reactivity
Svelte detects change
UI updates accordingly
Svelte tracks changes only when arrays or objects are reassigned or updated with reactive methods, not when mutated directly.