this post was submitted on 03 Feb 2024
475 points (94.1% liked)

Programmer Humor

32443 readers
863 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 9 months ago (1 children)

I understand the point of static websites, but Vue Router is pretty nice

[–] [email protected] 1 points 9 months ago (1 children)

If you’re using a router you can still support opening in new tab, history, etc.

[–] [email protected] 1 points 9 months ago

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.