The use of “Refresh Server Action” is not the best for multiusers business model, wors if it’s a SaaS model, because not all users need to refresh the server action at same time, this cause big performance issues.
Now the questions are, how to obtain similar results using Join and Emit, honestly I have too much questions about it:
When the Socket “connect” should be use, the same for “disconnect”. This both can be omitted creating a new socket action?
What are Namespace and how to use it, useful if the example is not about “Realtime messaging”.
How to update an Server Connect API based on new updates just like “Live Refresh with Sockets” works.
Can one user join to multiple rooms, e.g. User “One” Join to Room “A” and “B” and “C”. Then the Room “A” be able to send updates of API’s to Room “B”. How to do that?
Thanks