2 ms·
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 p
by the_gipsy 2y ago
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.
- math_dandy 2y agoHooks do a nice job of encapsulating the impurity. Not the only way to do it, but it’s pretty slick.