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 9daa5c3 commit c00e639Copy full SHA for c00e639
1 file changed
src/index.ts
@@ -210,11 +210,6 @@ export function effectScope(fn: () => void): () => void {
210
}
211
212
export function trigger(fn: () => void) {
213
- // RecursedCheck marks this sub as mid-run (like an executing effect), so
214
- // writes inside fn to already-read deps take the recursed-write path in
215
- // propagate/shallowPropagate instead of notify-queueing this non-effect
216
- // node, which would crash in run(). Batching defers those writes' flush
217
- // so fn's reads and writes settle as one atomic change set.
218
const sub: ReactiveNode = {
219
deps: undefined,
220
depsTail: undefined,
0 commit comments