table icon indicating copy to clipboard operation
table copied to clipboard

Don't try to @render svelte components in FlexRender

Open dberlin opened this issue 10 months ago • 0 comments

Svelte Components should not be @render'd, only snippets get @render'd, per the docs.

Unlike Svelte 4, the Component in FlexRender will already be dynamically evaluated.

This fixes examples/svelte/sorting for Svelte 5.

The failure around undefined headers there was because trying to @render a component like this code did does not do anything sane to it.

dberlin avatar Mar 02 '25 11:03 dberlin