---
title: "Comment by Ali Yasir on \"UseEffect: Is it really Effective?\" | Hashnode"
description: "Since the render method is too early to perform side effects we have lifecycle method in class component. What does that mean?"
url: "https://hashnode.com/posts/useeffect-is-it-really-effective/61c8366444f44d7f8d9afa7c/comment/61d2d6252850417068a19fb6"
---

[Discussion](https://hashnode.com/posts/useeffect-is-it-really-effective/61c8366444f44d7f8d9afa7c)

Comment [UseEffect: Is it really Effective?](https://hashnode.com/posts/useeffect-is-it-really-effective/61c8366444f44d7f8d9afa7c)

[Ali Yasir](https://hashnode.com/@yatte6147)

[Jan 3, 2022](https://hashnode.com/posts/useeffect-is-it-really-effective/61c8366444f44d7f8d9afa7c/comment/61d2d6252850417068a19fb6)

Since the render method is too early to perform side effects we have lifecycle method in class component. What does that mean?

[ramu k](https://hashnode.com/@ramuStar)

[Jan 26, 2022](https://hashnode.com/posts/useeffect-is-it-really-effective/61c8366444f44d7f8d9afa7c/comment/61d2d6252850417068a19fb6#reply-61f0cdae87fd2728e7cd498f)

Are You asking for these doubts ah I don't know exactly see bro! just easy listen here these are when your component load in initial time we will use this ComponentDidMount function

ComponentDidUpdate like updating your page every time action watch which event is trigger their page you can watch

ComponentWillUnmount if you leave your page that will be
