5 ms·
HN gets frothing mad about javascript, and to some extent I agree: sites that are fundamentally about content (news websites, blogs, etc.) should not be locked
by pkage 6y ago
HN gets frothing mad about javascript, and to some extent I agree: sites that are fundamentally about content (news websites, blogs, etc.) should not be locked behind JS gates. The amount of code bloat on those pages tends to be related to tracking and advertising, so not running JS on those pages makes sense.
On the other hand, web applications that provide full-featured experiences are only possible because of the full spectrum of web technologies. Choosing not to run JS and claiming that Google Docs should work without JS is ridiculous.
- resynth1943 6y agoAside: outline.com is useful for news websites which require JavaScript.
- dredmorbius 6y agoMany but by no means all. I increasingly rely on either Internet Archive's Wayback Machine (which also fails remarcably often to fully, or even partially, present SPAs), or Archive.today (archive.is, archive.fo, and friends), which is painfully slow to acquire content but does manage to render most it attempts.
- mixmastamyk 6y agoIt’s almost as if you should pick the right tool for the job. ;-)
- nicbou 6y agoWe all agree on that. I just suspect that Hacker News only knows about two jobs: massively distributed applications and their static blog. In the middle, you have countless SPAs, but also slightly interactive websites that are 90% content, and 10% calculators/maps/widgets.
- kyawzazaw 6y agofeel so true
- ehutch79 6y agoIt's not like those widgets need a full routing system with ssr, etc. Even with vue, you can just drop that component on the page.
- RussianCow 6y agoBut add enough of those widgets to a page, and now you need to coordinate local state, sync it with the URL, etc, which is way easier to do when the whole page is a SPA.
- ehutch79 6y agoBut at that point your site is more an application than content
- RussianCow 6y agoIt's not always so cut and dry; some content websites are very interactive.