|
|
|
|
|
by el_dev_hell
1686 days ago
|
|
Agree 100%. The migration from componentDidMount, componentDidUpdate, etc to useEffect was a major regression in terms of readability. The return function in useEffect vs. componentWillUnmount is just terrible. This is always a bizarre topic for juniors. |
|
I didn’t write many class components beforehand though, so my mental model didn’t have to change all that much.