It's a little funny that Javascript haters and Javascript influencers meet in their desire to highlight the new and shiny toys of the front-end ecosystem, but if you actually look at the survey results (or work on the front-end) then you know that in the real world, where people are shipping to prod, the story is the <i>stability</i> of favored tools.<p>These things won: React, Webpack, Jest. They've been the dominant tools for years. (Typescript is getting there.) The ecosystem around them is enormous; a million edge cases have already been handled; they're not going anywhere for a long time.<p>It's not really a surprise that as browsers become more like operating systems, people will experiment and find new ways to leverage the available capabilities, but you don't have to play with the new toys, and you definitely don't have to use them for paying work. Just say "risk" ten times if anyone suggests them, and your PM will end up agreeing with you.
Here's my feelings like someone who's not strictly frontend developer but has to deal with it from time to time.<p>Frontend seems to be React, rest is dead, everyone's on React.<p>Build system seems to work. Last time I used vite and didn't tinker with it at all. It just works. That's good. It was a royal pain for in in the past. All those grunts, webpacks, gulps and whatnot. But it doesn't seem like dust is settled yet. I guess more build systems will appear and disappear in the future.<p>State storage: I don't know. Redux was hot in the past. Nowadays it seems to be react-query which is supposed to be wrapper around fetch but apparently its caching is good enough to replace the whole state storage framework. Sounds weird, but here we are.<p>Routing is weird. I don't understand what's with it. There's react-router but there are some fuss with latest version, with react-query compatibility.<p>Code quality tools are not complete. There's prettier which is nice but does not work for everything as they have some weird artificial constraints, like they don't want to insert curly braces automatically, so you need to use eslint. Configuring this stuff still is pain. Deno is awesome in that aspect.<p>What I miss in JS ecosystem is something single which solves all my problems. Like npm which can also build website, which can hot reload it for dev mode, which can autoformat my code with single blessed unconfigurable code style, which can lint it, which can run unit tests and so on. I don't want to spend a single second setting up my environment.
To misquote the author of Solid.js as I remember it:<p>--- start misquote ---<p>There's no wonder react has been popular for all this time. We needed a time of relative stability and gradual evolution. We don't need revolutions every year.<p>It gave time to think about hard problems, and come up with new solutions. There's intensive work being done right now on things like proper partial hydration, SSR, granular reactivity etc.<p>--- end misquote ---<p>This is partly reflected in the graphs as well: react dominates, but "new kids on the block" like Svelte and Solid have insane rates of interest and retention.
To keep beating the same tired old drum: despite literally hundreds of millions of dollars poured into development and promotion of Web Components... the results are at best meh. The two leading frameworks, Lit and Stencil, see very little interest, so-so retention, and barely any usage.<p>None of the major frameworks and barely any of the newcomers use them... well, for anything.<p>(Of course the person responsible for them tries to downplay it because biased etc. <a href="https://toot.cafe/@slightlyoff/109669688324474159" rel="nofollow">https://toot.cafe/@slightlyoff/109669688324474159</a> )
Mainly look at Svelte's... its adoption more or less flatlined this past year compared to previous years :-/<p><a href="https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/" rel="nofollow">https://2022.stateofjs.com/en-US/libraries/front-end-framewo...</a>
No-one uses vanilla JavaScript anymore and everyone is on TypeScript? <a href="https://2022.stateofjs.com/en-US/other-tools/#javascript_flavors" rel="nofollow">https://2022.stateofjs.com/en-US/other-tools/#javascript_fla...</a>
The new comments section on the frameworks page is nice. It's interesting to see which ones people for apathetic about and which have lots of love.
I knew the field is predominantly male but only 5.2% women? Wow. I'm curious: is it worse or better in real world?<p>Edit: fix the number to use "% of question respondents".