How to sync the FULL config between server and client side state

I created quickly a first DRAFT version, and share it now already because I have still a lot of questions in RED. If somebody can answer some of those, that would be nice:

Some general remarks:

  1. I "think" that I was partly confused because the full state of a widget is called also "msg" in the frontend, but not sure.
  2. When a message is loaded then the last input msg is being replayed. Imho I certainly would not add extra parameters to the on-load event, but skip the input msg from that event completely. Because that msg:
    • Contains only partial state, so that is looking for troubles.
    • Mixing in the frontend state that arrives from input messages and from the servers-side stores is VERY confusing.
  3. Like @Colin mentioned, it is not clear to me how you support multi-tenant stuff by replaying only the last input message, containing partial state.
  4. Lots more questions in my drawing.

If anybody wants to draw on top of my drawing in Paint, be my guest. I will adjust my drawing with the feedback during the weekend.

Thanks!!!!!!!!!!!!!!!