News for hackers. Stuff that matters.
Re:Why React Re-Renders by ng12 on Tuesday August 16, 2022 @03:03PM (#32487272)
The idea is you shouldn't really need to. You have tools to memoize expensive operations in a React-friendly way, but even then you shouldn't really have to think about render cycles.

YMMV but I the only time I've ever had to really think about this stuff was when trying to frankenstein legacy jQuery code into a React app.

Re:Why React Re-Renders by RussianCow on Tuesday August 16, 2022 @03:16PM (#32487453)
In my experience, it's pretty easy to hit performance bottlenecks in React, so I don't think it's that uncommon to have to dive deeper for any reasonably complex codebase. Also, you basically have to understand the React render cycle to effectively use `useEffect` for anything more complex than "do this thing on mount".
Re:Why React Re-Renders by synu on Wednesday August 17, 2022 @01:39AM (#32492750)
I get that, but I personally enjoy understanding the full stack. I built a cpu on breadboard from kit for fun, its just something I enjoy doing.