Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
the_gipsy
· 1y ago · 0 comments
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.
Comments
[–]
math_dandy
1y ago
Hooks do a nice job of encapsulating the impurity. Not the only way to do it, but it’s pretty slick.