We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f927a4a commit 5c8b76eCopy full SHA for 5c8b76e
packages/reactivity/src/effect.ts
@@ -413,6 +413,10 @@ function removeSub(link: Link) {
413
// was previous tail, point new tail to prev
414
dep.subs = prevSub
415
}
416
+ if (__DEV__ && dep.subsHead === link) {
417
+ // was previous head, point new head to next
418
+ dep.subsHead = nextSub
419
+ }
420
421
if (!dep.subs && dep.computed) {
422
// last subscriber removed
0 commit comments