-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
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
Does not work with vite #319
Comments
apparently you're supposed to use @rspc/react-query, seems like the docs aren't up to date. i switched and it fixed that issue. |
@espeon When I switched over to @rspc/react-query it initially failed because it could not find the types. I was able to manually go into the modules files, and move the type files next to the build files to get that working. Did this work for you out of the box? |
No, had to add types as well. Seems to me the dev only somehow exported the built objects and not included the source files/types |
Changes have been release. Feel free to reopen the issue if you still have problems! |
I am unable to use this in vite.
When i do the following on a fresh vite project it fails:
import { createReactQueryHooks } from "@rspc/react"; const rspc = createReactQueryHooks();
The text was updated successfully, but these errors were encountered: