I actually ended up using this to complete some updates in our production app! And landed on this solution after discovering the same needs you listed at the beginning
@dandogamer22 күн бұрын
Can you use normal svelte components and modules inside a svelte web component? And then if thats possible can I use that svelte web component inside other non svelte web components?
@FabioRotondo7 ай бұрын
I came to Svelte almost 3 years ago because I was looking for an easy way to create web components, and stayed for the great framework Svelte is. Your talk showed me some tricks I didn't know of. Maybe you can also share a github link to your project?
@justinoneill28377 ай бұрын
7:22 is the article you're referring to called "Web Components VS Frameworks" ?
@ermice7 ай бұрын
"Web Components Will Outlive Your JavaScript Framework" article
@justinoneill28377 ай бұрын
@@ermice ahh for a second i though you might've been referring to the medium article i wrote!
@igors.75156 ай бұрын
how to use rollup to compile the web component built using Typescript. I am struggling big time. Is there a good reference? Thank you.
@z00zify2 ай бұрын
Hello @ermice, would you be so kind to share the repo you are showing in the talk? 🙂
@ryo_57486 ай бұрын
It is possible to render a shadow DOM server-side, using the shadowrootmode="open" attribute on the template element.
@3dprintwiki4 ай бұрын
If you plan to integrate this into bigger project you can write Custom Elements that lazy load svelte components. Also instead of compiling your build all the time you can use Vite for development and benefit from Hot Module Reloading :)
@ALT·245Ай бұрын
I also dislike that the create svelte defaults to a SvelteKit project and not really Svelte. Not sure why they did that change. Svelte on it's own is great, trying to force SvelteKit in every project isn't a good idea. At least we have create vite and other options, but Svelte should review this and still offer a way to start plain Svelte project.
@accountwizardindia81717 ай бұрын
Please guys don't have such a small font. At least Zoom