Q. Which hook would you use to share logic across multiple components?
β
Correct Answer: (C)
Custom Hook
Explanation: Custom hooks let you extract and reuse stateful logic between components.