2 ms·
Hooks are a very useful abstraction, they are like functions but with a built in of lifecycle state (so not pure but implicitly effectful). I cut down so much c
by satvikpendem 4y ago
Hooks are a very useful abstraction, they are like functions but with a built in of lifecycle state (so not pure but implicitly effectful). I cut down so much code using hooks, I even use them in non JS projects even, such as in Flutter with flutter_hooks, that's how strong of an abstraction they are.