Commit eef042d
committed
Docs: capture the Svelte effect poisoning failure mode in ipc/CLAUDE.md
The original Gotcha covered the cosmetic symptom (literal 'null' in the UI) but not the silent-failure variant that cost most of the F8 debugging session: when a bad `=== undefined` check sits inside a Svelte 5 `$effect`/`$derived` and the downstream code throws on `null`, the throw corrupts the reactive graph for sibling effects on the same component. State writes happen but dependent effects stop running, and any `{#if state}` block stays stuck. Documents the symptom signature and the typical suspect pattern (typed numeric/Intl helpers receiving an optional field) so the next agent can recognize it in <30s instead of <a day.1 parent 6074cd2 commit eef042d
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
139 | 151 | | |
140 | 152 | | |
141 | 153 | | |
| |||
0 commit comments