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