|
|
|
|
|
by sdegutis
2210 days ago
|
|
> Whenever any dependency changes the State value will update immediately. Each setState statement will notify subscribers synchronously with all changes applied. If two things change that both trigger a third thing to change, how does this efficiently prevent the third thing from updating twice needlessly? I'm imagining this becoming an exponential problem in real apps, where hundreds of components are re-updated needlessly at every UI interaction. |
|