mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-21 05:24:09 +03:00
Extracts common state management patterns into reusable composables: - useDiagnosticState: Manages loading, results, and error states - useClipboard: Handles copy-to-clipboard functionality - useExamples: Manages example selection and state Creates shared UI components to reduce duplication: - ExamplesCard: Displays selectable examples with consistent styling - ErrorCard: Standardized error message display - ResultsCard: Consistent results presentation - ActionButton: Reusable action buttons with loading states Refactored 35+ diagnostic pages across DNS, HTTP, TLS, Email, and Network categories. This improves code maintainability, reduces duplication, and ensures consistent UX. Co-Authored-By: liss-bot <liss-bot@d0h.co>