We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The QueryClientProvider from solid-query does not work properly in NX monorepo.
When I'm trying to use QueryClientProvider I see the "React is not defined" error
https://github.com/Stevedohh/nx-with-solid-query
npm i
npm run start-solid-app
As a user, I want not to see any errors in the console. And works with the library in a proper way.
Every time
No response
Windows 10
@tanstack/solid-query ^4.8.0
~4.8.2
The App component with QueryClientProvider located in apps/solid-app/src/App.tsx
The text was updated successfully, but these errors were encountered:
Could this be related to:
and:
?
Sorry, something went wrong.
Could this be related to: feat(solid-query): Solid Query Adapter for TanStack Query #4211 (comment) and: 2.3.7 revert breaking solid-query package solidjs/vite-plugin-solid#57 ?
Unfortunately no. Changing versions of "vite-plugin-solid" and "vite" did not help. Any ideas what it might be?
Regarding this issue solidjs/vite-plugin-solid#41 I excluded deps in vite config and it helps
Thanks @TkDodo for mentioning related issues!
Glad that helped! I also have added a PR here #4255 that will make solid-query work by default without using the excluded deps fix
No branches or pull requests
Describe the bug
The QueryClientProvider from solid-query does not work properly in NX monorepo.
When I'm trying to use QueryClientProvider I see the "React is not defined" error
Your minimal, reproducible example
https://github.com/Stevedohh/nx-with-solid-query
Steps to reproduce
npm i
in root directorynpm run start-solid-app
Expected behavior
As a user, I want not to see any errors in the console. And works with the library in a proper way.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows 10
react-query version
@tanstack/solid-query ^4.8.0
TypeScript version
~4.8.2
Additional context
The App component with QueryClientProvider located in apps/solid-app/src/App.tsx
The text was updated successfully, but these errors were encountered: