Pomax / socketless

A framework and methodology for writing web socket RPC programs, without writing a single line of web socket or RPC code.
MIT License
27 stars 3 forks source link

Ensure that the browser `init()` already has the current client state #56

Open Pomax opened 5 days ago

Pomax commented 5 days ago

We don't want to have a flash of unstated content in the browser when we're (re)connecting to a client that already has a tasty state going. The init() browser function should already guarantee that this.state is equivalent to the client state.