Live data from Hacker News

Why I don't use React

areknawo.com

11–20 of 40 posts

Re: Why I don't use React

#11
I expected an article about how the JS environment is out of control and you should just use HTML. Instead it looks like another call to action to migrate the JS herd to something more shiny.

I'm hoping we have an anti-JS revolution and go back to HTML-only unless JS is absolutely-without-a-doubt necessary.

Re: Why I don't use React

#13

I don't know about you, but I don't use react because I don't know how to use it. I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to.

> I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to.

I use react all the time, particularly at my job, and it's not that I choose not to use it now, I just choose not to use react for some projects. For simple UI I reach for server side html templating, with a sprinkle of CSS and Vanilla JS. For UI library code that could be shared with React and non react projects, again I use vanilla js. For big complex UI like a dashboard with graphs and charts, and bunch of options and nobs, etc. I will use something like React. There's a time and place where each tool shines or is the better choice.

Re: Why I don't use React

#14
> I personally struggle with embracing immutability. Maybe that's because I'm more of a performance guy. Even though I really want to make my code more maintainable, and thus I started reading a lot more about FP in recent times.

Honestly performance is a non-concern for me. I worked on a React app that ran on IE9 without any major performance issues and almost no code tuning. It's not even worth thinking about. However, avoiding immutability for the sake of maintainability and developer experience is something I would never give up.

Re: Why I don't use React

#15

I don't know about you, but I don't use react because I don't know how to use it. I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to.

> I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to.

I suspect you won't find many people in this camp. I know a great many Angular->React converts, but very, very few lapsed React devs.

Re: Why I don't use React

#19
post #15

I don't know about you, but I don't use react because I don't know how to use it. I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to.

> I think it would be more interesting to read about people who know how to use it, have used it, but now choose not to. I suspect you won't find many people in this camp. I know a great many Angular->React converts, but very, very few lapsed React devs.

As an Angular developer I would be interested in reading some Angular->React conversion stories. I've dabbled in React a few times but it never felt compelling enough to switch, but maybe I missed the good stuff.

Re: Why I don't use React

#20
tl;dr I don’t use React because I don’t like immutability, it gives you bad performance (spoiler: it doesn’t). Also it’s from Facebook, everybody knows that Facebook is evil, hence React is evil.

Really?

Post reply on HN