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 24a30eb commit 9866c22Copy full SHA for 9866c22
packages/svelte/src/compiler/phases/3-transform/client/utils.js
@@ -327,6 +327,7 @@ function get_hoistable_params(node, context) {
327
params.push(b.id(binding.node.name.slice(1)));
328
params.push(b.id(binding.node.name));
329
} else if (
330
+ // If we are referencing a simple $$props value, then we need to reference the object property instead
331
binding.kind === 'prop' &&
332
!binding.reassigned &&
333
binding.initial === null &&
0 commit comments