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

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5