79831817

Date: 2025-11-27 15:01:33
Score: 1.5
Natty:
Report link

Thank you for the comments.

My solution to get rid of localstorage:

  1. I use websockets changed the message to json which now transports the initial message and the status.

  2. I changed the websocket server so it now allows for communication between clients and also broadcasts everything that is sent to the server to all clients.

  3. For the clients js i keep the variables that i dont want to change (message) and just send them again with the json structure. the big benefit is now that i could reduce functions to clean the message and i have more control and flexability

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dichterDichter