2 ms·
> but I find that I miss the lifecycle callbacks of the older class based style. Why not continue to use the class based style? It's still supported. We're us
by nicoburns 6y ago
> but I find that I miss the lifecycle callbacks of the older class based style.
Why not continue to use the class based style? It's still supported. We're using hooks for some simpler cases where they really cut down on boilerplate, but we're continuing to use classes for more complex cases where we find it more readable.
- the_other 6y agoThat's what I did at my last gig, where I owned the codebase. At my current gig, I share it with 10 people and the decision to move to hooks was made before I joined.