490
Single-Page Application
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I understand the point of static websites, but Vue Router is pretty nice
If you’re using a router you can still support opening in new tab, history, etc.
Sure, but I don't want to. SPAs are nice, but I also try to include a JS-free fallback solution that is loaded when the client doesn't support Javascript. I think this is the best approach to web development. A good example for this is LocalMonero's No-JS mode. You can use the toggle in the upper-left corner to disable all Javascript on the website, and it will still have most features. I love it.