Documentation - v7.17.0
    Preparing search index...

    Function fetch

    • Make a fetch request using the native implementation, bypassing Zone.js patching. This prevents unnecessary Angular change detection cycles.

      Parameters

      • input: URL | RequestInfo

        The resource to fetch (URL or Request object)

      • Optionalinit: RequestInit

        Optional fetch options

      Returns Promise<Response>

      A Promise that resolves to the Response