r/javascript • • Nov 26 '22

State of JavaScript 2022

https://survey.devographics.com/survey/state-of-js/2022
168 Upvotes

50 comments sorted by

View all comments

0

u/[deleted] Nov 26 '22

[deleted]

6

u/PomegranateMother877 Nov 26 '22

Good for you. A plain, client-side rendered SPA, with a decoupled API is still the most sensible of all the modern architectures. Along with the classic MPA, there is no compelling engineering reason for any other architecture. All the other modern stuff is a hack to get a SPA to act like an MPA.

11

u/[deleted] Nov 27 '22

[removed] — view removed comment

1

u/ericbureltech Nov 28 '22

Not just SEO but energy consumption as well
Staticness without hydration means few server-side computations at build-time, and fewer computations client-side
The goal of some of these patterns is more hacking to get a SPA behave like an HTML file, expect for the truly interactive or user-specific parts