Wout De Puysseleir

Results 55 comments of Wout De Puysseleir

We have to be careful with slots as they're not working great and are an experimental feature. Svelte 5 might fix it though as slots will be passed as props,...

I don't have an example, but check out `upload` and `uploadTo` (https://hexdocs.pm/phoenix_live_view/js-interop.html#client-hooks-via-phx-hook) These functions are available on the `live` prop, so you can do something like this: ```svelte export let...

Oh that is interesting, I didn't think of this issue. Not seeing a way around it though with how data is being passed to Svelte at the moment. Maybe in...

Have you tried `upload` instead of `uploadTo`?

It looks correct to me so not sure what's going on here. I'll invest some time in figuring it out and adding an example later on, I'll ping here once...

Closing for now, feel free to reopen if it's still an issue

Is this the same issue as: https://github.com/woutdp/live_svelte/issues/29

It's something I have to take a look at again, if I can make the new version work I'll update the `build.js` file to use the latest version

I think this might be solved by now, official documentation supports the new version: https://hexdocs.pm/phoenix/asset_management.html#esbuild-plugins This will be released in the new version together with Svelte 5 (soon :tm:) https://github.com/woutdp/live_svelte/commit/582ecd9442be6f66c75fb89e0486f2d3e03b7356

This is the ticket that should help with this: https://github.com/sveltejs/svelte/issues/2588