Ermin Celikovic — Building Web Components using Svelte

preview_player
Показать описание
In this talk Ermin explored Web Components and how they fit into the bigger picture of the web. He went through the web standards and why the authoring experience with a framework like Svelte is so much easier. He also pointed out the extra information that is needed besides the Svelte docs and how to gradually integrate Web Components into an existing monolyth.
Рекомендации по теме
Комментарии
Автор

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

Bizbang
Автор

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?

FabioRotondo
Автор

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?

dandogamer
Автор

Hello @ermice, would you be so kind to share the repo you are showing in the talk? 🙂

zzify
Автор

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 :)

dprintwiki
Автор

how to use rollup to compile the web component built using Typescript. I am struggling big time. Is there a good reference? Thank you.

igors.
Автор

It is possible to render a shadow DOM server-side, using the shadowrootmode="open" attribute on the template element.

ryo_
Автор

7:22 is the article you're referring to called "Web Components VS Frameworks" ?

justinoneill
Автор

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.

ALT·
Автор

Please guys don't have such a small font. At least Zoom

accountwizardindia
welcome to shbcf.ru