We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f6443 commit 217f16dCopy full SHA for 217f16d
packages/react/runtime/src/index.ts
@@ -123,7 +123,7 @@ function finishComponentEffect(
123
prevStore: EffectStore | undefined,
124
endEffect: () => void
125
) {
126
- Signal.prototype._subscribe = this._sub;
+ Signal.prototype._subscribe = prevStore ? prevStore._sub : realSubscribe;
127
endEffect();
128
currentStore = prevStore;
129
}
0 commit comments