DEV Community

Discussion on: How to use componentDidUpdate in React

Collapse
 
sudhawan2 profile image
Sudhir.js • Edited

Please check component did update is called every time when the state updates and it can be even with anything just a mouse enter on div can change the state ? PLease correct where im wrong.

What is use of this componentdidupdate after this render will be called