Live data from Hacker News

Does anybody like React?

jsx.lol

171–180 of 353 posts

Re: Does anybody like React?

#171
post #37

As someone who lived through all major waves of JS for the last ~16 years, I do love react, in a sense: React is the worst JS framework except for all the others we've tried. I'd take React over the Angular 1 days any time. I'd take Angular 1's full-bodied MVC over the "build it yourself from scratch every time" approach of Backbone. I'd take Backbone's minimal MVC structure over the classic JQuery Soup architecture.…

What about Angular 2+?

After the disaster of AngularJS that we are still paying external EOL support on, I will never trust another Google led framework.

Re: Does anybody like React?

#172

Earlier quoted context omitted.

SPAs are a monster that grew and grew; an idea that at first seemed like a clever optimization has generated huge and complex systems that are a nightmare to work with, and are bloated, slow and insecure. Web components are the next big idea. I hope they have a chance to work.

> Web components are the next big idea. I hope they have a chance to work. This comment could work equally well in any of the past 15 years. And for all we know, any of the next 15.

Angular supports web components as first class, as do frameworks like Blazor.

It is mostly the React crowd that dislikes them.

Re: Does anybody like React?

#173
post #99
post #81

Of course people do. No one is forced to use React or any other web framework unlike how they are practically forced to use JavaScript, and yet React wins. This should be enough evidence that people like it enough, at least more than most other frameworks out there. It is also somewhat ironic that until late 2010s a common complaint about web development is how fast it changes and how many new things are coming up al…

I have never been able to pick the framework and libraries for my day job. I’m almost always working on something someone started years prior or bound to an organization that has strict choices. Personally I wouldn’t pick react :) React wins because it has become a default choice and folks like what’s comfortable to their preferences

React wins because it has a predictable interface that has become industry standard. Industry standard saves money. Not everything must be creative.

Re: Does anybody like React?

#175
post #81

Of course people do. No one is forced to use React or any other web framework unlike how they are practically forced to use JavaScript, and yet React wins. This should be enough evidence that people like it enough, at least more than most other frameworks out there. It is also somewhat ironic that until late 2010s a common complaint about web development is how fast it changes and how many new things are coming up al…

On the contrary, I am forced to use React and Next.js as many SaaS vendors have partnerships with Vercel, and only make extension points available with them.

If I want anything else, I have to implement the integrations myself, search for some open source project that has already done it, or ask AI.

Doable on hobby projects, unthinkable in professional settings.

Re: Does anybody like React?

#176
post #99

Earlier quoted context omitted.

I have never been able to pick the framework and libraries for my day job. I’m almost always working on something someone started years prior or bound to an organization that has strict choices. Personally I wouldn’t pick react :) React wins because it has become a default choice and folks like what’s comfortable to their preferences

React wins because it has a predictable interface that has become industry standard. Industry standard saves money. Not everything must be creative .

Not very predicatble with Vercel ownership.

Re: Does anybody like React?

#177
People hate on React because it's popular. That popularity alienates people whose use cases aren't served well by React and they wonder what the fuss is about.

But React is really, really good at the thing it was designed for: building interactive UIs. You can even build native apps. Can you build a native app in htmx?

Most of the alternatives to React are simplifying alternatives. They aim to take complexity away in order to solve a subset of basic use cases with less ceremony. Sure, if you have uncomplicated needs then use whatever solves your problem, web components, HTMX, Jinja, plain HTML, markdown: go as low as you like down the hierarchy and choose the simplest thing that could possibly work.

But nobody as of yet has built an alternative to React that can solve the difficult use cases better than React. Au contraire, React has moved into domains that it was never even designed for. Native apps. Terminal apps. That's the power of a good abstraction.

Re: Does anybody like React?

#178

Its bloat. You can do shadow dom and web components in modern native JS. State library is prob all you need now.

> State library is prob all you need now.

Hopefully if the signals standard proposal (TC39) gets up we may not even need state libraries soon.

Re: Does anybody like React?

#179

Yes! It is hands-down, the most intuitive interface, that has successfully married declarative and imperative styles together. IMO, nothing comes close to JSX across the length and breadth of UI frameworks across all languages.

Flutter, SwiftUI, Jetpack Compose: a whole lot of other platforms have been implementing React as their UI framework

No they are implementing Functional Reactive Programming, it isn't the same thing, even though common folks would say React.

https://wiki.haskell.org/Functional_Reactive_Programming

Re: Does anybody like React?

#180
post #130

Earlier quoted context omitted.

why is RSC not considered react? it is designed by core React team, and heavily recommended by core React team. and needs deep support from react.

Subjective depending on who you ask, but for me RSC is not really representative of React usage. (I believe) the vast majority of React apps (and the vast majority of dev experience in React) are front end only. I have been writing React in some form for 8+ years, but never touched RSC.

It is, especially in big corps doing MACH with SaaS products, deploying into Vercel.
Post reply on HN