mirror of
https://github.com/appy-one/acebase-core.git
synced 2026-05-24 22:01:23 -06:00
[GH-ISSUE #30] Stopping a live data proxies' onChange subscription cancels others #13
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-core#13
Loading…
Add table
Add a link
Reference in a new issue
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?
Originally created by @appy-one on GitHub (Jan 5, 2023).
Original GitHub issue: https://github.com/appy-one/acebase-core/issues/30
Originally assigned to: @appy-one on GitHub.
When adding multiple
onChangehandlers to a live data proxy, stopping 1 actually stops them allExample:
The problem is caused in data-proxy.ts:466 - the
.off('mutations')removes all handlers and should have never been in there