Question - Do Hooks cover all the functionalities provided by the classes?
Answer -
Our goal is for Hooks to cover all the functionalities for classes at its earliest. There are no Hook equivalents for the following methods that are not introduced in Hooks yet:
- getSnapshotBeforeUpdate()
- getDerivedStateFromError()
- componentDidCatch()
Since it is an early time for Hooks, few third-party libraries may not be compatible with Hooks at present, but they will be added soon.