DEV Community

Discussion on: When do you build a SPA vs. a server-rendered app?

Collapse
 
nektro profile image
Meghan (she/her)

For me it really depends on the type of site that you're building. If Service Worker is something you're going to want to add later then the SPA approach makes it a lot simpler, but is definitely possible with a SRA.

Me personally, if it's more of an app you're going for then I'd do SPA, if it's more of a site, then go for the server render.

Collapse
 
ben profile image
Ben Halpern

Yeah, I agree. And while you don't want to use the same hammer for everything, but if you're particularly excited about or confident in a technology, you might just want to go with that and deal with the pitfalls as they come.