Live data from Hacker News

React I love you, but you're bringing me down

marmelab.com

571–574 of 574 posts

Re: React I love you, but you're bringing me down

#571

I must be the only person in the world who likes class components in React. Sure, it's often overkill and a functional component does the same thing with less code. Use a functional component in these cases. But if you're doing something more complicated then stop treating class components like the fucking devil. They have their place.

I'm with you. I much prefer class components. So much easier to understand and work with.

I disliked hooks after first trying them on their release, and I hate them now.

I'm still bitter that a senior engineer didn't step in and prevent them from destroying the react ecosystem. I wonder if they were have been squashed if React was developed outside Facebook?

Re: React I love you, but you're bringing me down

#572

Earlier quoted context omitted.

Where are good examples of clean, well-implemented React code by your definition? Because your comment perfectly encapsulates my experiences and frustrations in learning and using React off-and-on over the past 8 years or so. React is the one tech that really freaks me out because every time I have to dive into it, it's a completely different beast and it feels like so many people actually writing in React are just e…

My god, I've been writing a response and it is already 5K chars.. I need to make a blog post of it or something... I would love to point to a good repo, but all the apps I’ve worked with are closed source. And I haven't seen a good open one :/ Pinky promise to finish a response here or write a blog post and post a link here. But have to go now to get some sleep

Hi there. I am sorry for a delay, but a promise is a promise.

I created a blog and wrote a post as a longer version of-a reply https://dinosaurs-with-jetpacks.com/posts/react-problems.htm...

Re: React I love you, but you're bringing me down

#573
post #301

Hmm… let me be frank about my experiences with React. I’ve been using React heavily for far over 6 or 7 years. React is amazing. And what I see is that people find so many ways to shoot themselves in the foot. At the same time, I understand that batteries-not-included approach will lead to that result. First of all, people get out of their skin and try to make it a complicated and entangled mess. In programming, ther…

Got a good example of business logic not being in a component? Looking to learn.

I created a blog and wrote a post as a longer version of a reply: https://dinosaurs-with-jetpacks.com/posts/react-problems.htm...

Re: React I love you, but you're bringing me down

#574

Hmm… let me be frank about my experiences with React. I’ve been using React heavily for far over 6 or 7 years. React is amazing. And what I see is that people find so many ways to shoot themselves in the foot. At the same time, I understand that batteries-not-included approach will lead to that result. First of all, people get out of their skin and try to make it a complicated and entangled mess. In programming, ther…

Where are good examples of clean, well-implemented React code by your definition? Because your comment perfectly encapsulates my experiences and frustrations in learning and using React off-and-on over the past 8 years or so. React is the one tech that really freaks me out because every time I have to dive into it, it's a completely different beast and it feels like so many people actually writing in React are just e…

I created a blog and wrote a post as a longer version of a reply: https://dinosaurs-with-jetpacks.com/posts/react-problems.htm...
Post reply on HN