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