DEV Community

Discussion on: React class life cycle methods to useEffect

Collapse
leodarpan profile image
DARPAN ANEJA

Its a very very helpful post!!! However, there are some typos in the post.
Grammar error:
A useEffect can return a function which its body will be executed when the component is unmounted.
Typo:
The good news is that you don't need to think of mapping lifecycle hooks to useEffect since React hooks introduced a
different paradigm on how we can create a React component and how we can mange side-effects.

P.S.: The text in the conclusion is not justified(in terms of arrangement)

Collapse
codegino profile image
Carlo Gino Catapang Author

Thanks, I really appreciate the feedback. Will try to update soon.

Collapse
leodarpan profile image
DARPAN ANEJA

Thanks for taking it positively!