NextJS 15 + Tanstack #675
MyNameIsBond
started this conversation in
General
Replies: 1 comment 8 replies
-
Let try this: const { data, isError, isLoading } = useSuspenseQuery(
orpc.ratings.getRatings.queryOptions(),
) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am working on a project, which I decided to use oRPC. Even though I am sure I have configured all the files to be able to use TanStack and oRPC. When I do
useSuspenseQuery
, I don't get the types of the data. The query is working just fine. and a queryKey is being assigned as well.If I do
Since the project is new, I copied and pasted the examples you have on the doc at the bottom of the hydration bit.
Any ideas on what I should add which is not in the documentation?
kind Regards
Beta Was this translation helpful? Give feedback.
All reactions