The proposed method of declarative DOM updates is problematic in that it leaves the potential for many "zombie controllers" to be attached to the DOM at any given moment: each suspended on a promise but ready to start mutating the DOM again the moment the promise resolves.
What happens if a stream writer yields a promise that never resolves? Is that an unfixable memory leak?
What if many stream writers are attached to the same element -- can they get into a race condition with each other?
The proposed method of declarative DOM updates is problematic in that it leaves the potential for many "zombie controllers" to be attached to the DOM at any given moment: each suspended on a promise but ready to start mutating the DOM again the moment the promise resolves.
What happens if a stream writer yields a promise that never resolves? Is that an unfixable memory leak?
What if many stream writers are attached to the same element -- can they get into a race condition with each other?