News for hackers. Stuff that matters.
Re:Common Beginner Mistakes with React by robertoandred on Saturday March 11, 2023 @08:52PM (#35115479)
I’ve never understood this bizarre superiority complex people develop for themselves because they use basic tools for basic projects.
Re:Common Beginner Mistakes with React by onion2k on Saturday March 11, 2023 @11:28PM (#35116683)
Removing complexity where you can is a good thing. Being able to recognize when you don't need a complex system is a skill. Many devs fall into the "One tool for every problem" trap by defaulting to the same boilerplate project for everything (eg create-React-app or Next.JS) and end up making something complex when a much simpler system would have worked better.

If you have a basic project the tools should be basic.

Re:Common Beginner Mistakes with React by robertoandred on Sunday March 12, 2023 @03:17AM (#35117626)
And if you don't have a basic project, why should you stick with basic tools just to enforce some smug sense of superiority?
Re:Common Beginner Mistakes with React by onion2k on Sunday March 12, 2023 @05:19AM (#35118220)
Your tools should be as complex as they need to be. For most apps, that is a lot simpler than the developer has made them.

The inverse isn't true because as soon as you actually need complexity your basic tools stop working. The "smug superiority" of the original post here is an admission that the author didn't need complex tools. The fact they recongized that, even if it was for the wrong reason if you're right about the smugness, is a good thing for their users.

Re:Common Beginner Mistakes with React by robertoandred on Sunday March 12, 2023 @10:04PM (#35129829)
So now that you've said React is indeed useful for complex projects, what relevance does the original post have here? It does nothing except clog up the comments with people tooting their own horns about how amazing they are for not using it.
Re:Common Beginner Mistakes with React by sneak on Sunday March 12, 2023 @06:50AM (#35118622)
When every new hire runs "npx create-react-app" without thinking as the first step of any solution to any problem, avoiding unnecessary complexity because you don't chase fads seems like a superpower.

There are times where React/Vue/SPAs are warranted. It's not 100% of the time, however.

Re:Common Beginner Mistakes with React by jiriknesl on Sunday March 12, 2023 @05:32PM (#35126554)
Hacker News is insanely successful app. And I bet its code is insanely basic. Who wouldn't see it as a goal worth pursuing?
Re:Common Beginner Mistakes with React by anthonypasq on Tuesday March 14, 2023 @11:30AM (#35153110)
hackernews is an insanely simple app too