in the `ws.ts` all helpers are re-exported from SolidStart. So I'd say 100% comes from h3/crossws what Vinxi does is setup the adjacent router for the WS stuff (in the app.config.ts), I don't think that's a requirement for Nitro, it's just how Vinxi operates the multiple routers (CDN, Client, and Server) - where server is now divided into Server/RPC and WebSocket
awesome! Could it stream updates data as user inputting? Besides, how it performances? Compare to using signal to keep sync between server and client? thanks for your share
SolidStart has streaming support for server to client , so that’s possible. I’ll prep a video about that and I’ll see how to plug it to the websockets!! The sync wouldn’t be a signal per se, but a streaming http connection, in practice it feels more like an observer (RxJS style) than a signal because the streaming request is Push only while I signal is two-way (Push-Pull). So, client-server would be multiple submissions server-client would be http streaming Thanks for the idea! 👍
Hahaha… I just normally say it with a Brazilian accent because it rolls out for naturally sometimes. But the “a-TTI-la” is closer to the original Hungarian pronunciation and I like it just as much! Thanks for caring, Scott!! You’re awesome!
Wait. Are you Brazilian, too? Do you live in Germany, too?🤯🤯 Get out hahah. No way😂. [Regarding your reply on the other comment and your channel location]
Code from the video is on GitHub: github.com/atilafassina/solidstart-websockets
How much of the WebSocket server code comes from Vinxi and how much comes from Nitro/h3/crossws? 👀
in the `ws.ts` all helpers are re-exported from SolidStart. So I'd say 100% comes from h3/crossws
what Vinxi does is setup the adjacent router for the WS stuff (in the app.config.ts), I don't think that's a requirement for Nitro, it's just how Vinxi operates the multiple routers (CDN, Client, and Server) - where server is now divided into Server/RPC and WebSocket
awesome! Could it stream updates data as user inputting? Besides, how it performances? Compare to using signal to keep sync between server and client?
thanks for your share
SolidStart has streaming support for server to client , so that’s possible. I’ll prep a video about that and I’ll see how to plug it to the websockets!! The sync wouldn’t be a signal per se, but a streaming http connection, in practice it feels more like an observer (RxJS style) than a signal because the streaming request is Push only while I signal is two-way (Push-Pull).
So,
client-server would be multiple submissions
server-client would be http streaming
Thanks for the idea! 👍
@@AtilaDotIO Cool, I am looking forward to diving into it.
OMG! You pronounce it Achla! You've never corrected me! Sorry man!
Hahaha… I just normally say it with a Brazilian accent because it rolls out for naturally sometimes. But the “a-TTI-la” is closer to the original Hungarian pronunciation and I like it just as much!
Thanks for caring, Scott!! You’re awesome!
Wait.
Are you Brazilian, too? Do you live in Germany, too?🤯🤯
Get out hahah. No way😂.
[Regarding your reply on the other comment and your channel location]
Yeah!! Gaucho in Berlin 🧉
@@AtilaDotIO, caraca, que dahora, man.
Lemme know when you get down here [Munich haha].
Cheers.