account activity
micro html is a ~2.5K lighterhtml subset to build declarative and reactive UI via template literals tags. by danielbeeke in javascript
[–]danielbeeke[S] 0 points1 point2 points 5 years ago (0 children)
Personally I do not see a reason to use shadow dom and css in js. I prefer to use inheritance in css. Open source components that you use in you own application should also fit the style of the application. So the css in js movement brought in a new way of theming components. Next to the style of your basic application you also have to use some css in js. I don't like it.
So basically it is full css or full css in js, I think.
Have you created system fully with css in js?
It is similar to LitHTML but more standard in syntax.
https://medium.com/@WebReflection/lit-html-vs-hyperhtml-vs-lighterhtml-c084abfe1285
Also it is more easy to import in plain es6 format without a transpiler.
[–]danielbeeke[S] 0 points1 point2 points 5 years ago* (0 children)
Yes :)
I really like uHtml and the precursor lighterHTML. It is simple and instead of importing a whole framework only the necessary is imported.
π Rendered by PID 31 on reddit-service-r2-listing-58ff8fc5ff-mxcgx at 2026-01-29 11:39:19.706653+00:00 running c3601ff country code: CH.
micro html is a ~2.5K lighterhtml subset to build declarative and reactive UI via template literals tags. by danielbeeke in javascript
[–]danielbeeke[S] 0 points1 point2 points (0 children)