Good afternoon, is there any way to trigger the OnRequest middleware function when API calls are performed using the Javascript functions (i.e. fetch) in QWIK? I would like to have this behavior because i want to show a spinner when the HTTP request starts and hide that when that is completed. I am performing the HTTP request inside a useVisibleTask method of a standard qwik component.
Best regards,
Xhoi