Closed userquin closed 6 months ago
Run & review this pull request in StackBlitz Codeflow.
You might want to add another case to the switch in src/index.ts.
We cannot use $props()
directly in runes, we need the script (we cannot use $
as prefix in variable name in runes, it is a reserved prefix):
Reserved prefix error:
When removing {@html ...}
from runes compiler, it seems we've found an Svelte 5 bug (?), generating all children variables but not being used:
In both cases:
Without {@html ...}
(there is an extra >
after svg, tested also fixing it):
With {@html ...}
:
generating all children variables but not being used
I've reported that one in the past. They stated it's low priority because the bundler will remove the unused variables
I've reported that one in the past. They stated it's low priority because the bundler will remove the unused variables
ok, adding optimization, I'll check also the build output and create a new branch in my previous repo
Description
See description.
We need to check if we need new custom types for runes or Svelte 5.
/cc @benmccann /cc @dominikg
Linked Issues
closes #346
Additional context