discord-questions.trpc.io/m/1385402873424384190

Preview meta tags from the discord-questions.trpc.io website.

Linked Hostnames

5

Thumbnail

Search Engine Appearance

Google

https://discord-questions.trpc.io/m/1385402873424384190

Why did the usage change in that way? - tRPC

Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```



Bing

Why did the usage change in that way? - tRPC

https://discord-questions.trpc.io/m/1385402873424384190

Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```



DuckDuckGo

https://discord-questions.trpc.io/m/1385402873424384190

Why did the usage change in that way? - tRPC

Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```

  • General Meta Tags

    6
    • title
      Why did the usage change in that way? - tRPC
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1
    • next-size-adjust
    • description
      Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```
  • Open Graph Meta Tags

    3
    • og:title
      Why did the usage change in that way? - tRPC
    • og:description
      Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```
    • og:image
      https://discord-questions.trpc.io/og/post?id=1385402873424384190
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:title
      Why did the usage change in that way? - tRPC
    • twitter:description
      Bit of a general question. Is there a blogpost or a video talking about that? I personally liked the old usage in the component much better: Old ```typescript import { trpc } from './trpc'; function Users() { const createUserMutation = trpc.createUser.useMutation(); createUserMutation.mutate({ name: 'Jerry' }); } ``` New ```typescript import { useMutation } from '@tanstack/react-query'; import { useTRPC } from './trpc'; function Users() { const trpc = useTRPC(); const createUserMutation = useMutation(trpc.createUser.mutationOptions()); createUserMutation.mutate({ name: 'Jerry' }); } ```
    • twitter:image
      https://discord-questions.trpc.io/og/post?id=1385402873424384190
  • Link Tags

    9
    • canonical
      https://discord-questions.trpc.io/m/1385402873424384190
    • icon
      https://cdn.answeroverflow.com/867764511159091230/6af104c7f0f39a12fcd55bd7bd28928f/icon.png
    • preload
      https://www.answeroverflow.com/_next/static/media/4f05ba3a6752a328-s.p.woff2
    • preload
      https://www.answeroverflow.com/_next/static/media/9cf9c6e84ed13b5e-s.p.woff2
    • preload
      /discord/2.png

Links

8