News for hackers. Stuff that matters.
Re:React 19 by the_gipsy on Thursday December 05, 2024 @07:17PM (#42334438)
It's nowhere close to pure, in the FP sense. Everything in React is an act around side effects of rendering.

So it's gotta be something else that makes it so popular.

Re:React 19 by math_dandy on Thursday December 05, 2024 @08:57PM (#42335326)
Hooks do a nice job of encapsulating the impurity. Not the only way to do it, but it’s pretty slick.