#Any pointers on working with websockets in Remix?

1 messages · Page 1 of 1 (latest)

hazy karma
#

I'm not really sure where to look, currently building a realtime newsfeed app (hosted on Netlify but can migrate to other provider if necessary)

wraith osprey
#

Don't think websockets work yet, but Server-Sent Events are supported.

hasty dome
#

there's an example using the Express adapter and socket.io

#

Netlify don't support being a WS server but you can deploy a socket.io server somewhere else and keep your Remix app in Netlify

#

the example shows how to use the same Express server to run both WS and Remix

vital haven
#

We've just been doing all our websockets Client side for now.

hasty dome
vital haven
#

I just assumed they meant using some public websocket data for a feed

hazy karma
#

sorry guys i went to sleep after asking this question haha

#

but yeah i was asking about client side WS, my bad

#

we have a separate backend for our api atm

hazy karma
hasty dome