Engine interview question

What is the difference between react hooks and using hierarchical components?