Composables
Reusable reactive logic
Composables
Composables are reusable reactive functions that encapsulate logic and state.
Common Composables
useAuth:
- Authentication state
- Login/logout functions
- User information
useApi:
- API request handling
- Automatic loading state
- Error handling
useToast:
- Toast notifications
- Success/error messages
usePermissions:
- Permission checking
- Role-based access