Skip to content

v0.16.0 Allow slot content with `createRender`

Choose a tag to compare

@bryanmylee bryanmylee released this 22 Dec 12:10
· 104 commits to main since this release

svelte-render has been updated to allow slot contents in createRender with v1.6.0.

Now you can define components like:

const columns = table.createColumns([
  table.column({
    header: 'Name',
    accessor: 'name',
    cell: ({value}) => createRender(Label).slot(value),
  }),
]);

to produce

<Label>{value}</Label>

Full Changelog: v0.15.3...v0.16.0