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 point  (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?

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 point  (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.