zachleat.com is one of the many independent Mastodon servers you can use to participate in the fediverse.

Server stats:

1
active users

📮 New post:

The Good, The Bad, The Web Components

zachleat.com/web/good-bad-web-

A full crash course on the state of web components, where they fit in JavaScript frameworks landscape, and how to make use of them moving forward!

Zach LeathermanThe Good, The Bad, The Web Components—zachleat.comA post by Zach Leatherman (zachleat)

@zachleat Great post. I’d like to see the aspirational idea you have come to fruition.

The biggest issue with web component approaches, even the good ones like WebC, is that they still require a build step. This limits them to folks who are comfortable with JS build chains.

I want to spread the love to Django, ASP.NET, Laravel, Rails, and all future web frameworks.

@khalidabuhakmeh @zachleat the aspirational ideal is literally how Enhance works. You define your template in a function and then it is expanded into light DOM custom elements by the SSR piece.

We’d love to bring Enhance SSR to other languages so if you are interested in submitting PR’s we’d be happy to work on that with you.