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

Programmer Humor

32483 readers
457 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
[–] EpicVision@monero.town 13 points 9 months ago (1 children)

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

[–] intensely_human@lemm.ee 1 points 9 months ago (1 children)

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

[–] EpicVision@monero.town 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.