How to prevent a leaf provider to rebuild several times when a root provider is updated? #3392
Unanswered
gdurandrexel
asked this question in
Q&A
Replies: 1 comment
-
Ideally, provider C should have no knowledge of provider A. Maybe asses when you want provider C to build in relation to changes in provider B1, B2, B3, then use Keep in mind, that if |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a provider A, with 3 providers B1, B2, B3 that watch it, and then a provider C that watches B1, B2 and B3.
If A is updated, C rebuilds 3 times.
Is there a technique to avoid that?
I was thinking perhaps of a buffer provider aggregating the states of B1, B2, B3 and listening to them with a debounce duration and updating its state after the duration.
Other thoughts?
Beta Was this translation helpful? Give feedback.
All reactions