How would y'all get realtime updates with t3 stack? Is there an accepted solution?

or is this the time to interface with postgres w/o prisma?
28 Replies
Lopen
Lopen•2y ago
Updates? You mean like websocket stuff? Or firebase type ?
wolfmansbrother.
wolfmansbrother.OP•2y ago
firebase style, i think they use sockets under teh hood tho
SuplenC
SuplenC•2y ago
But you won't be able to deploy on Vercel cause you are rewriting the server
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
wolfmansbrother.
wolfmansbrother.OP•2y ago
I don't think polling would work for me My app is a real time data delivery app, i get data from 30+ sources and surface it realtime to many users browsers
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
but people usually complain that t3 doesn't work well with webshots
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
??
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
what do you mean by serverless? isnt trpc serverless?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
yes
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
so basiclly your refering to trpc server side?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
so basically your saying no need to look for websockets when using t3 just use the subscription ?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
i havent used webscokets on t3 yet but i will start looking at soon when i start building payment and chat side of things i know i will be stressed react-query-polling wont work for payment i dont know if it will work for chat
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
? have you used it before? why and what will you use?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
i am using different type of payment flutterwave / Paystack the sdk are just basically api wrappers so it usually have so many typescript red lines will this work on t3 ?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Lopen
Lopen•2y ago
ok no problem thank you i will just have to go the sdk route i just hate working with sdk most are just api wrappers with little typescript support
wolfmansbrother.
wolfmansbrother.OP•2y ago
whoa y'all went in on this
Lopen
Lopen•2y ago
😅
Want results from more Discord servers?
Add your server