Andrea Giammarchi
1 min readFeb 20, 2020

--

That’s a major difference, I would say, as uhtml never clone again anything for the same container/rendered element, and what you see is literally what you get, nothing is stripped out, nodes reachable via [name="thing"] out of the box for CSS, so it plays well with the rest of the Web stack.

Once again, uhtml is basically lighterhtml in a nutshell, without any of the lighterhtml extra features, but hey … size might matters to many.

Possible improvements is to provide a parser to have something similar to lighterhtml in less than 3K, hopefully around 2K, but that’s a whole new challenge.

--

--

Andrea Giammarchi
Andrea Giammarchi

Written by Andrea Giammarchi

Web, Mobile, IoT, and all JS things since 00's. Formerly JS engineer at @nokia, @facebook, @twitter.

No responses yet