UNPKG

@j2inn/app-react

Version:

React implementation of the j2inn-app framework

11 lines (10 loc) 338 B
/** * A hook for loading external resources asynchronously. * * @param url The url of the script or CSS file to load. * @returns State information regarding whether the resource was loaded or failed to load. */ export declare function useDynamicResources(scope: string, urls: string[]): { ready: boolean; failed: boolean; };