Warren Buckley
08/09/2024, 1:46 PMUmbBooleanState
and UmbStringState
on my context that others can observe as this info comes back as an object/response from a request to the server.
Or is it better to put it all in an UmbObjectState
instead ?
Currently my ctx CTOR consumes document workspace ctx & observe's the unique (key/guid) and will make a new API request to the server and then I want to update my own observables with this info.
Just wondering if separate observables is a problem with perf or anything or should I use the UmbObjectState
instead?Warren Buckley
08/09/2024, 1:47 PMMarkus Johansson
08/09/2024, 1:50 PMUmbObjectState
. Having multiple different would only serve a meaningful purpose if you think that different "things" (mostly elements) would react to changes in the different observers in different ways.
Not sure if what I'm trying to say make sense? 😄Warren Buckley
08/09/2024, 1:52 PM