A Custom Hook is a reusable function in React whose name starts with use and which encapsulates stateful logic by calling built-in Hooks (like useState, useEffect, etc.). Custom Hooks let you share logic across components without repeating code.
Encapsulate Logic 🧩
Composable & Reusable 🔗
Follow Hook Rules 📏
Works Like a Regular Hook ⚛️