reshadow
reshadow copied to clipboard
[svelte] preprocesser overwrites `this` attribute in an `<svelte:component />`
From: <svelte:component this={CountryFlag} {country}/>
Into: <svelte:component {...map("svelte:component", {...})} />
Svelte Compiler Error:
<svelte:component> must have a 'this' attribute
166: {#each countries as country}
167: <p class={__styled__.styles["__p"]}>
168: <svelte:component {...map("svelte:component", {
^
169: this: CountryFlag,
170: country: country