-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed as not planned
Closed as not planned
Copy link
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Describe the bug
Hey folks,
a user from the tanstack discord group asked me to create a rep for the issue we found out yesterday. I figured out it would probably sense to also report upcoming issue here so, yeah:
https://github.com/soelen/reactcompiler-tanstackquery-issue
This project shows an issue when these 2 libs try to use a useQuery function defined in a js module.
Checkout peopleQuery.ts, App.tsx and vite.config.ts for a deeper dive into this issue.
Your minimal, reproducible example
https://github.com/soelen/reactcompiler-tanstackquery-issue
Steps to reproduce
- Clone project linked in this issue ticket
- Use the latest stable version of node
npm inpm run dev- Checkout
peopleQuery.ts,App.tsxandvite.config.tsfor a deeper dive into this issue.
Expected behavior
As a user, I expect that I get a rerender after fetching data from an endpoint.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
- OS: Ubuntu latest stable
- Browser: Chromium latest
Tanstack Query adapter
None
TanStack Query version
5.90.12
TypeScript version
5.9.3
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right