If a user updates a variable like canvas.room in the console, it doesn't trigger an event, which might mess up how socket rooms and other things work. This is not a normal use case, but it can be handled using Object.watch() or JS get and set methods.
If a user updates a variable like
canvas.room
in the console, it doesn't trigger an event, which might mess up how socket rooms and other things work. This is not a normal use case, but it can be handled usingObject.watch()
or JS get and set methods.