Important Points to consider when working with React
Update Method
...................................................
Note1:
In Class Components:
componentDidUpdate is used for update
In Functional Components:
EffectHook is used for update
The Effect Hook is like componentDidMount and componentDidUpdate combined.
Comments
Post a Comment