3 ms·
SPA is for apps, and websites are often better done with plain HTML. You don't need a megabyte of Javascript to display text with images. I guess that people m
by codedokode 8y ago
SPA is for apps, and websites are often better done with plain HTML. You don't need a megabyte of Javascript to display text with images.
I guess that people might prefer SPA because they are not very good at server programming or maybe they think it can make their resume look better (though I don't think choosing a complicated solution instead of simple one makes a good impression of an engineer).
Of course there are cases when you can't do without SPA: apps that work offline, interactive apps, online editors etc. But it doesn't make much sense to use SPA for a blog.
> at some point you decide how much effort you're going to put into supporting users who don't have javascript (usually out of choice), and for most people the answer is zero.
...until SEO people say that the site is poorly indexed so you need to generate a HTML version of the site. And you understand that it would be easier just to make a plain HTML site from the start.