this post was submitted on 02 Dec 2023
49 points (96.2% liked)

Web Development

2973 readers
15 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 11 months ago (4 children)

I used to be html and css-first, and to some degree I still am, but the advantages of SPA, lazy load, hot reload, and automatic state management and Dom rendering of a JS based framework are just too awesome to forego for the sake of staying native.

I know about HTMX but it's not really JS-less. It just creates the illusion that no JS is written. It still gets implemented in the browser with JS.

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

I run Librefox, the less scripts I have to temporarily trust to make a site work the better.

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

Do you have to manually approve every single script, even if it’s from the same origin as the site you’re visiting?

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

Idk about librefox but with noscript you manually approve ALL scripts even same origin. However you dont need to do a temporary trust for them all. For sites you trust and frequent you can just trust them so it allows them to run everytime

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

It also comes default with the google ajax server always trusted, and the google analytics server untrusted.

I'm trying to shop on Luxe Bidet, and it's trying to load 26 different scripts. Everything that the scripts are doing, should be done in HTML/CSS instead as the article suggests. Going to a different page shouldn't be an onClick event, it should be an HTML link. Loading images shouldn't break with JS disabled, it should be an HTML image element.

I get that JS has it's place, but if I can't even navigate your site without testing 26 different scripts to see which one is breaking the site, I'm going to a different site.

load more comments (1 replies)
load more comments (1 replies)