В функциональных компонентах, в отличие от классовых, отсутствуют следующие классические методы жизненного цикла:
componentDidMount
componentDidUpdate
componentWillUnmount
shouldComponentUpdate
getSnapshotBeforeUpdate
В функциональных компонентах, в отличие от классовых, отсутствуют следующие классические методы жизненного цикла:
componentDidMount
componentDidUpdate
componentWillUnmount
shouldComponentUpdate
getSnapshotBeforeUpdate
Register or sign in to get access to full answers for all questions from the question bank.