That is exactly what I have been talking about whole discussion. @abu
has mentioned componentWillUnmount is deprecated.
But I think WILL UNMOUNT is not deprecated.
Instead componentWillMount is deprecated.
That's what the URL shared by @lucasoneves
says WILL MOUNT is deprecated(not WILL UNMOUNT).
Is it?
I think you are talking about componentWillMount assuming by the alternate you suggested.
can you please share any docs that says the same about componentWillUnmount.
Hi, @shubh710 please refer to official docs here reactjs.org/docs/react-component.html, it can help to understand the life cycle of components.
dev.to/abu/comment/1egf0
Here your comment says "componentWillUnmount() method has been deprecated"
I didn't find that in the official docs
reactjs.org/docs/react-component.html
reactjs.org/docs/react-component.h...
That is exactly what I have been talking about whole discussion.
@abu has mentioned componentWillUnmount is deprecated.
But I think WILL UNMOUNT is not deprecated.
Instead componentWillMount is deprecated.
That's what the URL shared by @lucasoneves says WILL MOUNT is deprecated(not WILL UNMOUNT).
Thank you for your feedback. I appreciate your thoughtful insight.
Here is the react documentation which I mentioned in the "sources" as well. reactjs.org/docs/react-component.h...
Nonetheless, I will cross validate your concern.
I find your article informative.
My comment was intended for Abu Jaid
I am delighted that you find my article informative. This is an inspiration for me. Thank you.
Please, keep on reading my articles.