Currently new subscribers created when updating subscribers get overwritten, thus are ignored.
the code looks like this
// We cannot hold the subscribers lock while calling mark_dirty, because mark_dirty can run user code which may cause a new subscriber to be added. If we hold the lock, we will deadlock.
let mut subscribers = std::mem::take(&mut *inner.subscribers.lock().unwrap());
subscribers.retain(|reactive_context| reactive_context.mark_dirty());
*inner.subscribers.lock().unwrap() = subscribers;
Problem
Currently new subscribers created when updating subscribers get overwritten, thus are ignored.
the code looks like this
but i would expect
to be something like
Questionnaire