
discord-questions.trpc.io/m/1389239840993968148
Preview meta tags from the discord-questions.trpc.io website.
Linked Hostnames
5- 5 links todiscord-questions.trpc.io
- 1 link todiscord.com
- 1 link todiscord.gg
- 1 link totrpc.io
- 1 link towww.answeroverflow.com
Thumbnail
Search Engine Appearance
can I use useUtils hook in trpc 11 ? - tRPC
```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
Bing
can I use useUtils hook in trpc 11 ? - tRPC
```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
DuckDuckGo

can I use useUtils hook in trpc 11 ? - tRPC
```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
General Meta Tags
6- titlecan I use useUtils hook in trpc 11 ? - tRPC
- charsetutf-8
- viewportwidth=device-width, initial-scale=1
- next-size-adjust
- description```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
Open Graph Meta Tags
3- og:titlecan I use useUtils hook in trpc 11 ? - tRPC
- og:description```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
- og:imagehttps://discord-questions.trpc.io/og/post?id=1389239840993968148
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:titlecan I use useUtils hook in trpc 11 ? - tRPC
- twitter:description```tsx export const usePublicBlogs = () => { const trpc = useTRPC(); return trpc.blogs.getPublicBlogs.queryOptions(); };``` ```tsx const { data: blogPosts, isLoading, error } = usePublicBlogs(); ``` this is my trpc query, trpc query dont provide data, isLoading or error ```tsx Property 'data' does not exist on type 'UnusedSkipTokenTRPCQueryOptionsOut<{ id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[], { ...; }[], TRPCClientErrorLike<...>>'.ts(2339) ``` also i want to invalidate my queries for example invalidate fetching posts query when doing a mutation (IN THE NEW WAY) ```tsx await utils.blogs.getBlogs.invalidate(); ``` ```tsx Property 'invalidate' does not exist on type 'DecorateQueryProcedure<{ input: void; output: { id: string; title: string; content: string; excerpt: string | null; author: string; category: string; readTime: string; status: string; isFeatured: boolean; image: string | null; createdAt: Date; updatedAt: Date; }[]; transformer: true; errorShape: DefaultErrorShape; }...'.ts(2339) ```
- twitter:imagehttps://discord-questions.trpc.io/og/post?id=1389239840993968148
Link Tags
10- canonicalhttps://discord-questions.trpc.io/m/1389239840993968148
- iconhttps://cdn.answeroverflow.com/867764511159091230/6af104c7f0f39a12fcd55bd7bd28928f/icon.png
- preloadhttps://www.answeroverflow.com/_next/static/media/4f05ba3a6752a328-s.p.woff2
- preloadhttps://www.answeroverflow.com/_next/static/media/9cf9c6e84ed13b5e-s.p.woff2
- preload/discord/0.png
Links
9- https://discord-questions.trpc.io
- https://discord-questions.trpc.io/search
- https://discord-questions.trpc.io/u/269563551012749313
- https://discord-questions.trpc.io/u/334081776504930324
- https://discord-questions.trpc.io/u/695222810863206431