bryanmylee / svelte-headless-table

Unopinionated and extensible data tables for Svelte
https://svelte-headless-table.bryanmylee.com/
449 stars 26 forks source link

Svelte 5 Support #169

Open pheuter opened 7 months ago

pheuter commented 7 months ago

With new APIs in Svelte 5 like Snippets as well as breaking changes (especially the one where Svelte components are no longer classes) it would be great to hear about plans (if any) for svelte-headless-table (and by extension svelte-render) to support the new upcoming major version of Svelte.

bryanmylee commented 7 months ago

I haven't had a lot of time to look into Svelte 5, but it seems to be that Snippets will completely replace svelte-render.

I'm more than happy to update this library for Svelte 5, and I hope the new APIs solve some of the existing pain points we've had for awhile.

It's funny that we're deprecating event handlers in favour of callback props, stores in favor of signals, and class components in favor of snippets. Looks like we've just re-invented React / JSX.

I'm more than happy for these changes though, since it makes APIs infinitely easier to build.

pheuter commented 5 months ago

https://github.com/bryanmylee/svelte-render/pull/8