Answer the question
In order to leave comments, you need to log in
Where should componentDidMount and componentDidUpdate be placed?
where should the specified components be placed in the container or directly in the component that does the rendering?
Answer the question
In order to leave comments, you need to log in
Forget this ridiculous division of duties. componentDidMount and componentDidUpdate are just lifecycle hooks that need to be applied where there is a need to use them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question