-
In the following example, is it correct to apply Without that annotation, state is over-observed in the view, as the view is refreshed when the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @gerfarfel, observation is only as granular as |
Beta Was this translation helpful? Give feedback.
Hi @gerfarfel, observation is only as granular as
@ObservableState
is applied, and so if you truly need to be super granular with observation then you can apply the macro to a domain type that is not just a reducer state. However, I would start with only applying it to reducer states first and only consider adding it to domain types if the over-observation is truly a problem.