Re:Thinking in React Hooks
by duxup on Thursday December 12, 2019 @01:51PM
(#21774947)
I love hooks for most things, but what I still struggle with are big higher level components that hosts a bunch of smaller components where I can see componentDidMount, update, etc.... and get a feel for the behavior overall.
With my hooks I've not gotten that visibility but that's probabbly just me getting used to hooks and how to write them better in a way that makes things as clear as the old lifecycle methods.
It doesn't help that I'm bit of a noob as far as web development goes and most examples I look at are pretty straight forward simple apps for teaching the concepts ... but my questions start when things start scaling up.
With my hooks I've not gotten that visibility but that's probabbly just me getting used to hooks and how to write them better in a way that makes things as clear as the old lifecycle methods.
It doesn't help that I'm bit of a noob as far as web development goes and most examples I look at are pretty straight forward simple apps for teaching the concepts ... but my questions start when things start scaling up.