Queue prop subscriptions to be called in one time-slice #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently evaluations happen asyncronously but in a bit of a wierd way:
This can still cause an infiniloop (though the code would be of poor design).
To fix this,
subscribable._fireshould queue returned callables as microtasks (https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide). This way several props can be updated before subscriptions are processed