Function useDynamicResources

  • A hook for loading external resources asynchronously.

    Returns

    State information regarding whether the resource was loaded or failed to load.

    Parameters

    • urls: string[]

    Returns { failed: boolean; ready: boolean }

    • failed: boolean
    • ready: boolean

Generated using TypeDoc