tweak comment to remove active_reaction reference

pull/16239/head
Rich Harris 2 months ago
parent 69ebe29417
commit b208f71d3c

@ -81,9 +81,9 @@ export class SvelteMap extends Map {
}
/**
* If the active_reaction is the same as the reaction that created this SvelteMap,
* we use state so that it will not be a dependency of the reaction. Otherwise we
* use source so it will be.
* If the source is being created inside the same reaction as the SvelteMap instance,
* we use `state` so that it will not be a dependency of the reaction. Otherwise we
* use `source` so it will be.
*
* @template T
* @param {T} value

@ -77,9 +77,9 @@ export class SvelteSet extends Set {
}
/**
* If the active_reaction is the same as the reaction that created this SvelteMap,
* we use state so that it will not be a dependency of the reaction. Otherwise we
* use source so it will be.
* If the source is being created inside the same reaction as the SvelteSet instance,
* we use `state` so that it will not be a dependency of the reaction. Otherwise we
* use `source` so it will be.
*
* @template T
* @param {T} value

Loading…
Cancel
Save