UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

11 lines (10 loc) 339 B
export declare function useScriptLoader(src: string, options?: { async?: boolean; defer?: boolean; attributes?: Record<string, string>; }): "loading" | "ready" | "error"; export declare function preloadScript(src: string, options?: { async?: boolean; defer?: boolean; attributes?: Record<string, string>; }): void;