Email or username:

Password:

Forgot your password?
Alex Russell

The problem with modern frontend isn't that people pick React, it's that a huge chunk of the industry has abandoned user-centric values in the name of efficiency, delivering neither good UX nor acceptable DX in the process.

Picking React in '23 is merely a symptom of a much deeper rot.

26 comments
Elias Mårtenson

@slightlyoff When you say "efficiency", what are you referring to? Development efficiency or the efficiency of the code running on the browser?

I'm curious, as I can agree with one but not the other.

cuan_knaggs

@loke efficiency as in hot swapable developers because we can't be bothered to put resources into staff retention @slightlyoff

Elias Mårtenson

@mensrea @slightlyoff Right. Then I agree since react pages are anything but efficient. 🙂

Alex Russell

@loke @mensrea Sorry for being obtuse; lots of orgs have picked up React because they were told it's industry-standard, that they would be able to hire for it easily, etc. etc. It turns out that React on its own doesn't get you very far, and so there's a ton of time and money that needs to be spent either building infra to support some agglomeration of state tools + SSR configs + component libraries, or investment in learning metaframeworks like Next.

The savings never materialise.

cuan_knaggs

@slightlyoff i think there is another aspect to this. the "modern way" with frameworks, language abstractions (typescript), build pipelines, et al. make people think they're doing "real programming". so they keep layering complexity to solve problems caused by complexity because they're really smart @loke

Elias Mårtenson

@slightlyoff @mensrea
Thanks. That's another layer of problems that I'm not directly familiar with as I have never done web development recently on a large team.

My experience with react is mostly as a user of sites built using it, as well as my personal attempts at using it myself.

In the latter case, I was quite unimpressed.

Sorry, I was impressed by how the simple vases seemed almost magic. Less impressed by the hoops one has to just through to make sightly more complex usecases possible.

@slightlyoff @mensrea
Thanks. That's another layer of problems that I'm not directly familiar with as I have never done web development recently on a large team.

My experience with react is mostly as a user of sites built using it, as well as my personal attempts at using it myself.

In the latter case, I was quite unimpressed.

Rich Felker

@mensrea @loke @slightlyoff This. React is the ultimate in inefficiency. The goal isn't to be efficient but to maximally disempower and make fungible the labor involved.

Alistair Davidson

@dalias @mensrea @loke @slightlyoff That's it! Project management styles and tech choices are both shaped by the need to make the work of programmers predictable and measurable. Huge costs are incurred, and seen as entirely worthwhile.

Christopher Wood

@loke @slightlyoff Sounds like profitability is all.

The less money handed to developers and customers out of the current revenue base means more money handed to shareholders.

dötcöde

@slightlyoff "I can very efficiently build a shit website"

Pontus

@slightlyoff The company's ability to have a pool of candidates that is as large as possible seems to be the main factor in picking technologies. Even to the point of motivating rewrites.

Joyographic

@slightlyoff So what would you recommend for someone looking to build a simple ti work with, fun, easy to use UI?

Joachim

@joyographic As an alternative to React, I've been very happy playing with Svelte (and SvelteKit)

@slightlyoff

Alex Russell

@joachim @joyographic There are tons of good reactive systems out there. If you like React and JSX, try Preact or Stencil. If you are building a mostly static site, look at HTML generated at build time w/ something like 11ty.

Agree that Svelte is a much more modern choice. I list some others here:

infrequently.org/2023/02/the-m

Joyographic

@slightlyoff @joachim Thanks! I'll have a look at some of these...

cuan_knaggs

@joyographic it doesn't matter. use react if you want but put the user first and send the smallest amount of traffic to the browser that you can @slightlyoff

cuan_knaggs

@pablo_fradua it's functionally no different to inline styles. it's a solution to a problem that comes from not understanding how to work with css @joyographic @slightlyoff

Erica "digifox" Kovac 🌐⚛️⚡

@slightlyoff how is it more efficient if neither DX nor UX benefit?

Simeon.__proto__

@digifox I don’t want to speak for @slightlyoff, but i think the point is that it ISN’T more efficient, people just cite that as the reason for choosing it

Joseph Scott

@slightlyoff Too much focus on what we can do, not enough on what we should do.

DELETED

@slightlyoff 100%. Unfortunately I don't get a choice but to use it at work because it's the "standard".

Ian Wagner

@slightlyoff @dylanbeattie agreed. Out of curiosity, what’s your favorite? I say this as someone who more or less rage quit front end dev 10 years ago cuz it was a dumpster fire and it’s hardly improved. I see occasional interesting sparks like Elm that try to solve only a single part of the problem.

Aleix Morgadas

@ianthetechie @slightlyoff @dylanbeattie

Loving the thread!

As with any frontend tech conversation, I should mention htmx.org as a viable alternative to the complexity that React brings.

Go Up