News for hackers. Stuff that matters.
Re:If Not React, Then What? by ganksalot on Friday November 29, 2024 @11:47PM (#42279528)
o7 thanks, people like this who do not work in contexts with problems that React solves yet insist React is not solving problems are profoundly boring.
Re:If Not React, Then What? by fiddlerwoaroof on Saturday November 30, 2024 @12:08AM (#42279639)
I spent a lot of time working on react applications of one kind or another and I think most businesses don’t have “problems that React solves” for their frontends. Somewhere that’s actually an application might, but most line of business applications would be better as something like Rails views rather than React
Re:If Not React, Then What? by ganksalot on Saturday November 30, 2024 @12:16AM (#42279688)
> I think most businesses don’t have “problems that React solves” for their frontends.

that is neither here nor there. you are replying to an article whose thrust is that react ought never be used.

> Somewhere that’s actually an application might

might, lol? wait are you the author?

> most line of business applications would be better as something like Rails views rather than React

why?

Re:If Not React, Then What? by fiddlerwoaroof on Saturday November 30, 2024 @01:46AM (#42280036)
Because, for most business applications I've worked on, React just complicates the frontend code compared to serving up simple HTML views and for no real benefit aside from "using React"
Re:If Not React, Then What? by hu3 on Friday November 29, 2024 @11:55PM (#42279567)
No need for personal attacks.

And there's also the other side: people who insist in overusing React. Perhaps that's what the author refers to.

I for one have see HTMX eat React for breakfast in a few of my clients during consulting.

Re:If Not React, Then What? by ganksalot on Saturday November 30, 2024 @12:13AM (#42279671)
> No need for personal attacks.

i don't know about all that, but this is an incredibly tired diatribe.

> Perhaps that's what the author refers to.

they are clearly not.

Re:If Not React, Then What? by sakesun on Saturday November 30, 2024 @08:07AM (#42281404)
They are clearly not.

"In short, nobody should start a new project in the 2020s based on React. Full stop."

Re:If Not React, Then What? by synergy20 on Saturday November 30, 2024 @12:01AM (#42279601)
Really? HTMX for me brings spaghetti code on the server side. Fine for small projects but not so for large ones. I would prefer the clear separation between frontend and backend beyond small scale projects.
Re:If Not React, Then What? by wordofx on Saturday November 30, 2024 @11:17PM (#42286160)
React does not create a clear separation. Anyone who claims that hasn’t worked on any react bigger than a todo list.

If you struggle with backend code then you’re just not a good backend developer. Maybe just stick to HTML/CSS.

Re:If Not React, Then What? by wiseowise on Saturday November 30, 2024 @12:22AM (#42279719)
> I for one have see HTMX eat React for breakfast in a few of my clients during consulting.

What about the rest of them?