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 2c10a80 commit 3f84c4bCopy full SHA for 3f84c4b
packages/svelte/src/compiler/phases/3-transform/client/utils.js
@@ -74,19 +74,11 @@ export function serialize_get_binding(node, state) {
74
75
if (
76
!state.analysis.accessors &&
77
- !(state.analysis.runes ? binding.reassigned : binding.mutated) &&
+ !(state.analysis.immutable ? binding.reassigned : binding.mutated) &&
78
!binding.initial
79
) {
80
return b.member(b.id('$$props'), node);
81
}
82
-
83
- if (
84
- !(state.analysis.immutable ? binding.reassigned : binding.mutated) &&
85
- !binding.initial &&
86
- !state.analysis.accessors
87
- ) {
88
- return b.call(node);
89
- }
90
91
92
if (binding.kind === 'legacy_reactive_import') {
0 commit comments