
discord-questions.trpc.io/m/1339399284910456843
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
invalidate query - tRPC
whenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
Bing
invalidate query - tRPC
whenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
DuckDuckGo

invalidate query - tRPC
whenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
General Meta Tags
6- titleinvalidate query - tRPC
- charsetutf-8
- viewportwidth=device-width, initial-scale=1
- next-size-adjust
- descriptionwhenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
Open Graph Meta Tags
3- og:titleinvalidate query - tRPC
- og:descriptionwhenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
- og:imagehttps://discord-questions.trpc.io/og/post?id=1339399284910456843
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:titleinvalidate query - tRPC
- twitter:descriptionwhenever i add a user my user list is not updating ```tsx const mutation = trpc.user.addUser.useMutation(); async function onSubmit(values: z.infer<typeof formSchema>) { await mutation.mutateAsync(values); router.push("/admin/all-employees"); } ``` does not get updated ```tsx const { data: users, isLoading } = trpc.user.getUsers.useQuery(undefined, { refetchOnMount: false, refetchOnReconnect: false, }); ``` what i have tried : ```tsx const mutation = trpc.user.addUser.useMutation(["addUser"]); ``` searched for invalidate query but couldn't know how to setup a mutation key and invalidate it caused an error ```Type 'string[]' has no properties in common with type 'UseTRPCMutationOptions<{ name: string; email: string; username: string; password: string; role: string; }, TRPCClientErrorLike<{ input: { name: string; email: string; username: string; password: string; role: string; }; output: { user: { name: string; ... 9 more ...; | undefined;...'.ts(2559) ```
- twitter:imagehttps://discord-questions.trpc.io/og/post?id=1339399284910456843
Link Tags
10- canonicalhttps://discord-questions.trpc.io/m/1339399284910456843
- 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/311955969716256770
- https://discord-questions.trpc.io/u/695222810863206431