Wrote a blog post on creating a comments web compo...
# reading
w
Wrote a blog post on creating a comments web component with Stencil and Supabase! https://ionicframework.com/blog/dynamic-jamstack-with-stencil-and-supabase/
o
> @User — Today at 1:49 PM > Nice article! Have you tried Svelte as well by any chance?
w
@User Thanks! I have tried Svelte in a couple of small demos and I think it is pretty neat. It has a couple of philosophical/feature differences to Stencil imo but both share a goal in following web standards. Stencil is a component compiler, meaning you can write a component once and output to custom HTML elements, React, Vue, Svelte, etc. This is a pretty great feature when you are building components that need to be consumed in a variety of contexts! (For clarity, I work on Ionic Framework which uses Stencil, so I am biased haha). https://stenciljs.com/docs/introduction Also, my personal preference is jsx > Svelte's templating lang. But again that is just a personal preference, I am really excited to try out SvelteKit sometime
s
Oh awesome I didn’t know about that in terms of the output to custom HTML elements feature
I just finished writing a e-commerce site for my course website using svelte kit so I am getting second opinions now from others on their experiences
I’ll have to try it stencil thanks a lot for writing that up
Do you know if there’s a Reddit group? We’re on the general topic of web components?
2 Views