File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ function get_derived_parent_effect(derived) {
130130 * @param {Derived } derived
131131 * @returns {T }
132132 */
133- function execute_derived ( derived ) {
133+ export function execute_derived ( derived ) {
134134 var value ;
135135 var prev_active_effect = active_effect ;
136136
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import {
2828} from './constants.js' ;
2929import { flush_tasks } from './dom/task.js' ;
3030import { internal_set , old_values } from './reactivity/sources.js' ;
31- import { destroy_derived_effects , update_derived } from './reactivity/deriveds.js' ;
31+ import { destroy_derived_effects , execute_derived , update_derived } from './reactivity/deriveds.js' ;
3232import * as e from './errors.js' ;
3333import { FILENAME } from '../../constants.js' ;
3434import { tracing_mode_flag } from '../flags/index.js' ;
@@ -931,7 +931,7 @@ export function get(signal) {
931931 // if the derived is clean but has been assigned a new value, then we need to
932932 // still invoke the derived function and update the dependencies or else
933933 // it will not depend on the original source
934- update_reaction ( derived ) ;
934+ execute_derived ( derived ) ;
935935 }
936936 }
937937
You can’t perform that action at this time.
0 commit comments