Repository navigation
External createStore traces for derived dependencies and batching #401
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 prepared an external TanStack Store example for interaction-check, a JSONL regression runner I maintain. It uses the current createStore API and makes state/notification sequences easy to reproduce.
A derived store selects one of two source stores. The traces check switching dependencies, inactive-source updates, native batch behavior, equal writes and unsubscribe. This uses @tanstack/store 0.11.2, not the older Derived-class API.
Adapter · Three scenarios · External PR. Tested with @tanstack/store 0.11.2: 3 scenarios / 14 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/tanstack-store/*.json -- node adapters/javascript/main.mjs tanstack-storeWould this be useful as an optional external reproduction recipe? No TanStack source or public API change is proposed here, and no framework adapter or concurrent rendering behavior is claimed. I am sharing a verified example first, before considering any upstream change.
All reactions