You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am currently playing with Tanstack Start and websockets and the only way I could push websocket file to the defineConfig function is like this:
Since Vinxi allows definition of websocket file through routers, I think Start should support it too.
Also I am not sure if I am not breaking anything, because the
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I am currently playing with Tanstack Start and websockets and the only way I could push websocket file to the defineConfig function is like this:
Since Vinxi allows definition of websocket file through routers, I think Start should support it too.
Also I am not sure if I am not breaking anything, because the
shows an ugly TS error, so in code I have to ignore it right now.
But websockets in application works with this setting.
Am I missing something and there is already an easier way or Start does not support websockets (easily) yet?
Beta Was this translation helpful? Give feedback.
All reactions