SPA may be slow for minority of users with slow bandwidths, but a complex WordPress site can be slow for MAJORITY of users with decently fast connections -- mainly because of lack of preloading.
Although I don't know much SSR technologies, I would say that developer's experience matters. Breaking into fully contained components help with development.
I know there are templating engine, but I don't know how well it integrates with JavaScript (bundler)...
I personally think that websites are usually either content-focused or functionality-focused.
Faster-than-whole-page-loading functionality-focused must be a valid use case for SPA's.
About content-focused, Static-site generators (like Jekyll, Hugo) might be faster than SSR (and security?), but I am not so sure. But what about when you need some minor interactivity? That's when JavaScript, and perhaps esbuild is needed.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
OK, I have some anecdotal experiences as well.