News for hackers. Stuff that matters.
Re:Implementing single-file web components by petilon on Monday March 23, 2020 @12:05PM (#22665301)
Here's an example of single-file Web Component. Markup (JSX syntax with embedded JS expressions), CSS and JS are in one file:

https://github.com/wisercoder/uibuilder/blob/master/WebCompo...

All you need is this tiny 250-line lib: https://github.com/wisercoder/uibuilder

There are no comments on this comment yet.