discord-questions.trpc.io/m/1385208120350867456

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

Linked Hostnames

4

Thumbnail

Search Engine Appearance

Google

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

Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC

Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.



Bing

Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC

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

Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.



DuckDuckGo

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

Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC

Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.

  • General Meta Tags

    6
    • title
      Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1
    • next-size-adjust
    • description
      Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.
  • Open Graph Meta Tags

    3
    • og:title
      Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC
    • og:description
      Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.
    • og:image
      https://discord-questions.trpc.io/og/post?id=1385208120350867456
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:title
      Can I use tRPC with Tanstack Start while fetching or performing mutations from an external API? - tRPC
    • twitter:description
      Hello everyone! I really appreciate tRPC, particularly its type safety when making function calls between the client and server. In my current project, I'm utilizing external API endpoints for fetching data and making POST requests. Example: ``` const res = await axios.get<Artifact | undefined>( `${GENERATION_SERVICE_FQDN}/artifact/${id}`, ); ``` I'm curious if integrating tRPC would be beneficial in this context. My primary goal is to leverage the type safety it offers for both inputs and outputs. Additionally, I'm using Tanstack Query in conjunction for prefetching logic.
    • twitter:image
      https://discord-questions.trpc.io/og/post?id=1385208120350867456
  • Link Tags

    8
    • canonical
      https://discord-questions.trpc.io/m/1385208120350867456
    • 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/3.png

Links

6