Problem Statement
Do React Hooks cover all class component functionalities?
Explanation
Hooks cover most features like state and lifecycle methods, but error boundaries and getSnapshotBeforeUpdate still require classes.
Practice Sets
This question appears in the following practice sets: