Introduction
Archibald provides a comprehensive suite of hooks and utilities designed to simplify common development patterns, ensure cross-platform compatibility, and maintain high performance across Web and Mobile applications.
These tools handle everything from complex data fetching and state synchronization to low-level lifecycle management and environment-specific optimizations.
Core Areas
-
Data Fetching:
-
Hooks & Utilities:
- Error Handling: Data Fetching & Fatal Application Errors
- Lifecycle Hooks: DidMount, WillMount, IsMounted, IsFirstRender
- useAsyncEffect: Safe Asynchronous Side Effects
- useSSR: Handling Server-Side vs Client-Side Environments
- useCookie: Persistent State
- useLocalStorage: Syncing State with Browser Storage
- useCMSContext: Accessing Dynamic Page Data
- useLayout: Managing Global UI States
- useScript: Dynamic Script Loading
- useSrcLoader: Optimizing Responsive Images
- useIsVisible: Performance-Friendly Intersection Tracking
- useForceRender: Manual Component Refresh
- useSynchronizedAnimation: Multi-Component Animation Sync
- useThreadSafeRef: Robust Ref Management