Multiple XY components and Svelte 5
Magnus-Ignitic opened this issue · comments
I know Svelte 5 is still in RC but interesting finding(?) nonetheless. Or Not. Multiple XY components in the XY container crashes my application at least:
<VisXYContainer
{data}
margin={{ left: 5, right: 5, top: 5, bottom: 5 }}
height="100"
>
<VisLine {x} {y} lineWidth={2} color="#80808080" />
<!-- This line causes browser to freeze -->
<!-- <VisLine {x} y={y1} lineWidth={3} color="#ff00ff" /> -->
</VisXYContainer>
Same code works in Svelte 4.