News for hackers. Stuff that matters.
Re:How React 19 Almost Made the Internet Slower by verbalstoner on Monday June 17, 2024 @04:53PM (#40710929)
JS frameworks were a terrible mistake
Re:How React 19 Almost Made the Internet Slower by rglover on Monday June 17, 2024 @06:33PM (#40711917)
The frameworks aren't the problem, it's their authors. There's a virus in the JavaScript world that makes people think ever-more complex solutions make tools better. After years asking "why is it like this" (I'm a JS dev/framework author), I realized this is likely due to an inferiority complex because hearing "real programmers don't use JavaScript" makes people feel bad so they try to compensate with complexity and end up creating messes. That and complexity pays well.
Re:How React 19 Almost Made the Internet Slower by voat on Monday June 17, 2024 @06:14PM (#40711723)
You're either using a framework, or unintentionally writing your own
Re:How React 19 Almost Made the Internet Slower by mickael-kerjean on Monday June 17, 2024 @09:46PM (#40713276)
I rewrote one of my apps in vanilla JS to get the most performance possible, the wheel I had to reinvent is under 150 line of code [1], definitely worst the small cost [2]

[1] framework code: https://github.com/mickael-kerjean/filestash/tree/master/pub...

[2] example: https://github.com/mickael-kerjean/filestash/blob/master/pub...