[Solid-query] reconcile called multiple times on every request
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 50.3k
- Forks
- 4.2k
- Avg merge
- 18h 25m
- Merged PRs (30d)
- 200
Description
Describe the bug
When I use reconcile in my solid-query, it gets called multiple times on every request.
My reproducible example has 2 reconciles on every function call, but in my production code I got up to 4 reconciles on every query call
Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-query-enmbz1vx?file=src%2FCounter.tsx,package.json
Steps to reproduce
Run stackblitz sample, look at the console - every query request triggers multiple reconciles, sometimes oldData === newData
Expected behavior
only one reconcile for every request
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
"@tanstack/solid-query": "^5.70.0",
"solid-js": "^1.9.5"
Tanstack Query adapter
solid-query
TanStack Query version
5.70.0
TypeScript version
5.5.4
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the linked StackBlitz reproduction and inspect src/Counter.tsx and package.json, watching the console during each query request. Trace the repeated reconcile calls in the Solid Query setup and verify the result by confirming that each request produces only one reconcile, including when oldData equals newData.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100