Currently, if…
- you have some state which is both
writableByCogs and writableByClient
- you use
useCogsStateValue to use the state in a React component
- you then update it with
connection.setState
… then you will not get a re-render until the server responds with the updated state.
We should fire the event listeners for state changes when updating with setState, rather than only when COGS responds
Currently, if…
writableByCogsandwritableByClientuseCogsStateValueto use the state in a React componentconnection.setState… then you will not get a re-render until the server responds with the updated state.
We should fire the event listeners for state changes when updating with
setState, rather than only when COGS responds