discord-questions.trpc.io/m/1354114852599103548

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

Linked Hostnames

5

Thumbnail

Search Engine Appearance

Google

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

A simple example of using SSE and subscriptions - tRPC

Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!



Bing

A simple example of using SSE and subscriptions - tRPC

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

Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!



DuckDuckGo

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

A simple example of using SSE and subscriptions - tRPC

Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!

  • General Meta Tags

    6
    • title
      A simple example of using SSE and subscriptions - tRPC
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1
    • next-size-adjust
    • description
      Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!
  • Open Graph Meta Tags

    3
    • og:title
      A simple example of using SSE and subscriptions - tRPC
    • og:description
      Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!
    • og:image
      https://discord-questions.trpc.io/og/post?id=1354114852599103548
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:title
      A simple example of using SSE and subscriptions - tRPC
    • twitter:description
      Hello! Congrats on launching v11 🚀 I'm having a hard time to understand [subscriptions](<https://trpc.io/docs/server/subscriptions>), specially the full stack example](<https://github.com/trpc/examples-next-sse-chat>) which is already a bit complex. Just wondering if there is a simple example somewhere without using React for example and just a basic subscription when a todo item is added for example. Also, is it just me or the `onComplete`, `onData`, etc options in a plain subscription got removed and is only available in `useSubscription()`? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32 Thanks!
    • twitter:image
      https://discord-questions.trpc.io/og/post?id=1354114852599103548
  • Link Tags

    10
    • canonical
      https://discord-questions.trpc.io/m/1354114852599103548
    • 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/4.png

Links

13