svelte-loadable icon indicating copy to clipboard operation
svelte-loadable copied to clipboard

Is a native way to do the same in Kit?

Open frederikhors opened this issue 2 years ago • 3 comments

I'm using svelte-loadable for the first time.

It's amazing, thanks @kaisermann!

I'm wondering if it still makes sense in a SvelteKit project.

Is a native way to do the same in Kit?

frederikhors avatar Apr 02 '22 14:04 frederikhors

Hey @frederikhors 👋 I haven't used kit seriously yet, so I'm afraid I don't know how to answer that 😢 With that said, I don't recall seeing anything regarding loading states for dynamic components in kit, so it could be useful.

kaisermann avatar Apr 29 '22 12:04 kaisermann

Ok. Can we leave this open until we better understand? Thank you.

frederikhors avatar Apr 29 '22 12:04 frederikhors

I'm curious as well, but I'll check it out. It does look like there is some Load functionality, but I think it's just a replacement for Fetch. Not a Dynamic Loader.

michaelcuneo avatar Jul 05 '22 04:07 michaelcuneo