Closed as not planned
Description
openedon Mar 22, 2023
Describe the bug
Module level directives cause errors when bundled, "use client" in "node_modules/@tanstack/react-query/build/lib/useSyncExternalStore.mjs" was ignored.
Your minimal, reproducible example
I don't have time
Steps to reproduce
Use query v4.28.0 with vite. I wonder does it affect the build or not.
Expected behavior
I will not see the warning
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Windows: 11
Tanstack Query adapter
react-query
TanStack Query version
v4.28.0
TypeScript version
v5
Additional context
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels