489
submitted 7 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] EpicVision@monero.town 13 points 7 months ago

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

[-] intensely_human@lemm.ee 1 points 7 months ago

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

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

this post was submitted on 03 Feb 2024
489 points (94.2% liked)

Programmer Humor

31990 readers
106 users here now

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

Rules:

founded 5 years ago
MODERATORS