Repository navigation
External store traces: same-object writes and unsubscribe #19093
PerchAnton
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I made an external svelte/store example for interaction-check, a JSONL regression runner I maintain. It uses writable, derived and get without compiling a component.
The traces explicitly verify that setting the same object notifies subscribers, then check independent field updates and derived reads after unsubscribe. Would this be useful as an optional store-reproduction recipe? It does not cover runes, components, the compiler or DOM.
Adapter · Three traces · External PR. Tested with svelte 5.57.2: 3 scenarios / 11 steps pass locally on macOS, Node 24.19.0.
From that checkout, with Python 3.10+ and Node 24.19.0:
npm --prefix adapters/javascript ci --ignore-scripts --no-audit --no-fund python interaction_check.py scenarios/svelte/*.json -- node adapters/javascript/main.mjs svelteAll reactions