News for hackers. Stuff that matters.
Re:Ask HN: If we could redesign the Internet from scratch, w... by bitplanets on Thursday December 18, 2014 @10:09AM (#8767517)
If you use react.js and rcss you will be able to build your whole app with just js. Well organized and modular. No html, no css (not directly, of course. You still have to fix css issues).
Re:Ask HN: If we could redesign the Internet from scratch, w... by archagon on Thursday December 18, 2014 @10:13AM (#8767548)
Yeah, I added a comment about that. It's true that web frameworks essentially work like this, but I still think it's massively backwards that we're building web apps by using JS to manipulate a text rendering engine and not the other way around. In my opinion, this is one of the primary reasons why web apps never feel as good as native.

To look at it another way, this means that HTML and CSS are sort of the web's "layout and appearance bytecode", and they're pretty mismatched for that purpose.