Open voroninp opened 1 year ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I would like to have a more streamlined way of binding to the global state and reacting to its updates.
Currently recommended approach of working with global state is to expose events to which component attaches handlers and then detaches them in
Dispose
method.It's a working solution but adds some boilerplate code.
Describe the solution you'd like
Functionality similar to WPFs data binding would be fine, or binding to observables.
State can either expose events
EventHandler <PropertyName>Changed;
or useINotifyPropertyChanged
interface.Something like this:
Additional context
No response