Live data from Hacker News

Kind of annoyed at React

blog.cassidoo.co

1–10 of 135 posts

Re: Kind of annoyed at React

#2
Good point on the two Reacts. Call me old-fashioned, but I still prefer being able to serve a React app over a CDN instead of needing a Node.js server. Might be in the minority these days though.

Re: Kind of annoyed at React

#4
Share the same sentiment. React has gotten weird. It feels like they took a perfectly done design and awkwardly pushed it over its boundaries. (They got away with hooks, but this time it’s different)

Funny thing is they say it’s for the DX to become more like PHP. But the PHP I remember was practical.

Re: Kind of annoyed at React

#5
post #4

Share the same sentiment. React has gotten weird. It feels like they took a perfectly done design and awkwardly pushed it over its boundaries. (They got away with hooks, but this time it’s different) Funny thing is they say it’s for the DX to become more like PHP. But the PHP I remember was practical.

For those that are not following very closely, what came after the “hooks” that took it too far?

Re: Kind of annoyed at React

#6
post #5
post #4

Share the same sentiment. React has gotten weird. It feels like they took a perfectly done design and awkwardly pushed it over its boundaries. (They got away with hooks, but this time it’s different) Funny thing is they say it’s for the DX to become more like PHP. But the PHP I remember was practical.

For those that are not following very closely, what came after the “hooks” that took it too far?

Next.js and server side components

Re: Kind of annoyed at React

#7
post #5
post #4

Share the same sentiment. React has gotten weird. It feels like they took a perfectly done design and awkwardly pushed it over its boundaries. (They got away with hooks, but this time it’s different) Funny thing is they say it’s for the DX to become more like PHP. But the PHP I remember was practical.

For those that are not following very closely, what came after the “hooks” that took it too far?

Server side rendering / server components / pushing NextJS on everyone

Re: Kind of annoyed at React

#8
post #5
post #4

Share the same sentiment. React has gotten weird. It feels like they took a perfectly done design and awkwardly pushed it over its boundaries. (They got away with hooks, but this time it’s different) Funny thing is they say it’s for the DX to become more like PHP. But the PHP I remember was practical.

For those that are not following very closely, what came after the “hooks” that took it too far?

Server components, which are in Next.js (using React's canary branch). Server components are not yet in official (i.e. non-canary) React, and the React team supports this move (as do I). I just wish that the tool that was so helpful with the "other" (100% client-side) React, "Create React App", was better supported these days.

Re: Kind of annoyed at React

#9
React is fundamentally bad technology. I know there are historical reasons for the virtual dom but the reasons that justified it don't exist anymore. If you want to do anything interesting with react that involves interacting directly with browser APIs you need to deal with these absurd use effect hoops to initiate state with references to dom nodes.

I've worked on 4 large react code bases and they always devolve into these blobs of non-deterministic async state with unpredictable performance.

I actually like JSX and the component model so I just use solid-js which is everything I like about react but with effortless performance and you can actually get away with never using effects so your code can actually be deterministic.

Re: Kind of annoyed at React

#10
Maybe, it's just me - I miss the good old days when sites didn't have anything to do with react or similar. Everything was just plain old hyperlinks and some basic JS. I am not even talking about the 90s, just look at what Facebook used to be in its early days - such a simple UI, just based off of hyperlinks, very basic JS. That simplicity alone made it such a joy to use.

Today, I don't even feel like logging into Facebook, because a fucking dropdown menu for a post (which barely has 4-5 options) is a Component that is loaded via AJAX. This is not even an overstatement.

I miss the simplicity of the web.

Post reply on HN