Hacker News new | ask | show | jobs
by raxxorraxor 52 days ago
React is really a bad example because you really don't need it. I am no web dev, but I think React is an abomination. The reason I can confidently say it without knowing every detail there is to it is simply that there aren't impressive websites that show it. There should be some that by now. The number of reused components is probably quite analogous to reused classes in OO. It can make sense, but sometimes it also sometimes doesn't.

Some suggested it could become web standard and I just hope it doesn't. React is beyond opinionated. It certainly has a raison d'ĂȘtre for some applications, but the problem is simply that it didn't put our less buggy or generally better sites.

1 comments

Internally I oppose react as much as possible. The reason beginners use it is because of job security. The reason experts start projects with it is because it enforces encapsulation, inversion of control and declarative code. Can you do all those yourself in freeform js? yes, of course. It is their way of imposing these traits.