Re:React is becoming a black box
by brundolf on Thursday September 03, 2020 @06:38PM
(#24369662)
I guess I saw lifecycle methods as a code smell anyway. I pretty much only used them when I had to bridge the gap to some third-party code that didn't live nicely within my React/state management world, or when I was forced to do some manual DOM fiddling in one or two cases. Nothing related to my core logic or state would ever live there, so I never reached a point of "complicated lifecycle management".
[ Parent
| on HN ]
There are no comments on this comment yet.