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:
- I "think" that I was partly confused because the full state of a widget is called also "msg" in the frontend, but not sure.
- 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.
- 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.
- 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!!!!!!!!!!!!!!!
