taniarascia / comments

Comments
7 stars 0 forks source link

websockets-in-redux/ #138

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Using WebSockets in a Redux Application | Tania Rascia

At some point, you might work on a React/Redux application that requires the use of WebSockets, such as for chat or live updates on a…

https://www.taniarascia.com/websockets-in-redux/

Zerro97 commented 1 year ago

Thank you for sharing! It's really interesting that you can use Redux for dispatching Web Socket events.. Very insightful!

ahndmal commented 1 year ago

Great article, Tania. Thank you!

bsjaramillo commented 1 year ago

Very interesting !... but I have a question, Can I create a pool or array of websockets using this approach ? because I'm developing a chat app with chatrooms, each room has its own websocket server, so I need one websocket per chatroom.

justmelnyc commented 1 year ago

what syntax theme is this, its really nice!

NathanVG commented 1 year ago

Great write-up, any chance you have done this with typescript before? Kind of struggling with getting the right types set up.

kbs-code commented 1 year ago

nice!

sojib-lowp commented 1 year ago

But how can I send message from anywhere in my app?