0 votes
in ReactJS by

What is componentDidUpdate method?

1 Answer

0 votes
by

Mostly it is used to update the DOM in response to prop or state changes. This will not fire if shouldComponentUpdate() returns false.

Related questions

0 votes
asked Jul 2, 2019 in ReactJS by Venkatshastri
0 votes
asked Jun 19, 2020 in ReactJS by JackTerrance
...