this post was submitted on 31 Dec 2025
27 points (100.0% liked)

Web Development

4976 readers
1 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 2 years ago
MODERATORS
 

Most SPAs seem to only serve one or two 'soft' navigations after the initial 'hard' navigation (the one that loads the entire app upfront), meaning the cost is not being amortized across many requests, negating the whole point of the architecture.

top 6 comments
sorted by: hot top controversial new old
[–] madnificent@lemmy.world 11 points 1 week ago

There is a distinction between an app and a site. An application has many partial state updates. Two updates is uncommon for an app. Way different for a website where people ideally land on the right page from a search engine. There is a place for an SPA but it's not everything.

We tend to stick with an SPA even for things which are mainly reads because we're more efficient in a single tech stack. Sadly we don't have big tech budgets to do everything. In theory the JS SPA backend can simply run in the backend if there's no need for an SPA. I had thought hydration and caching to have gotten way better by now but there's still a good way to go.

[–] Feyd@programming.dev 9 points 1 week ago

Just answering the title without looking deeper. Yes, absolutely. SPA has it's place but almost every site that exists would be better off using old school server side frameworks. And instead of realizing the mistake the industry has doubled down and made these insane SSR SPA frameworks that are the worst of all worlds

[–] chrash0@lemmy.world 5 points 1 week ago

my opinion is that the browser in general for rich front ends is the mistake, but i know i’m the minority

[–] JakenVeina@midwest.social 1 points 1 week ago

No. Turning things into SPAs that should have been simple websites has been. Also developing SPAs in JS.

[–] dave@puz.fun -2 points 1 week ago (1 children)

@rimu most decisions humanity makes are mistakes, why only call out SPA architectures?

[–] rimu@piefed.social 6 points 1 week ago

I limit my calling out to my areas of expertise.