# HAMUR_W2018: useAsyncData redirects after the response started streaming

useAsyncData redirects after the response started streaming. Warning `HAMUR_W2018` belongs to `hamur`, server (2001 – 2999).

## Message

```text
HAMUR_W2018 redirect("<redirected>") from useAsyncData after the response started streaming on <url>; the browser follows it after hydration
```

## Cause

A `useAsyncData` handler redirected after the response had started streaming. The browser follows the redirect after hydration.

## Fix

Redirect before the response starts, in `load` or in middleware.
