Function useExternalScript

  • Loads an external/remote script

    Parameters

    • Optional url: string

      source url of the script to load

    Returns string

    state of the stript

    Example

    useExternalScript("https://code.jquery.com/jquery-3.3.1.slim.min.js");