3 ms·
@danpeddle already pointed out the important part, but just as an addendum... It all depends what one wants to do with a browser, doesn't it? For some of my pr
by toxmeister 8y ago
@danpeddle already pointed out the important part, but just as an addendum...
It all depends what one wants to do with a browser, doesn't it? For some of my projects the browser is merely a sandbox for delivering design tools and I really don't care about the HTML aspects of it at all.
For other projects, I only care about HTML generation and use hdom's sister library to generate static HTML from the same components:
https://github.com/thi-ng/umbrella/tree/master/packages/hiccup#examples https://github.com/thi-ng/umbrella/tree/master/packages/hicc...
If a user has JS disabled in the browser, fine. If not, then the browser app can hydrate the static HTML and add interactive features and cause cancer :)