Replies: 3 comments 1 reply
-
Any approach you would have used in another React app regardless of Remix should work. Setting the list to a state is the simples, and unless you’re not loading JS on the browser it should work without any issue in Remix. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yep, by importing webSocket file at Remix, it stops loading js, I don't know how to fix it |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried renaming Socket.client.js still the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm subscribing to a socket server, but I can't figure out how to show the messages that I'm receiving in real time. I tried to use useState to add messages to array and map them, but it doesn't work. Any idea how to render real time messages that I'm receiving?
Beta Was this translation helpful? Give feedback.
All reactions