Skip to content

Commit 82c6f39

Browse files
committed
update comment
1 parent 0b0b7b8 commit 82c6f39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export function set_active_effect(effect) {
8888
}
8989

9090
/**
91-
* When sources are created within a derived, we record them so that we can safely allow
92-
* local mutations to these sources without the side-effect error being invoked unnecessarily.
91+
* When sources are created within a reaction, reading and writing
92+
* them should not cause a re-run
9393
* @type {null | Source[]}
9494
*/
9595
export let reaction_sources = null;

0 commit comments

Comments
 (0)