Re:Solid.js feels like what I always wanted React to be
by Tade0 on Tuesday March 01, 2022 @05:33AM
(#30512352)
Back when they were initially released my teammate started rewriting everything in them. Little did he know, if you're not careful with hooks, you can severely damage performance.
My take is that if a feature requires a linter to be properly implemented then it's obviously giving the developer too much rope to hang themselves with.
Also it appears that they were introduced mainly for performance, but for some reason sold as the new "better" way of writing applications.
I actively avoid React and its ecosystem, because I believe there's just too much FOMO and "fashion"(for lack of a better word) in what drives its development and not enough meritocracy.
Re:Solid.js feels like what I always wanted React to be
by brimble on Tuesday March 01, 2022 @12:15PM
(#30516828)
Read the implementation of Hooks (in the React codebase) if you want a big LOL. They're a slower, partial re-implementation of objects with bizarre custom syntax. In a language that's already so heavily OO that the functions are objects.
That said, I still preferred React.createClass so I guess I'm somewhat off the beaten path when it comes to React.