Editorial question105.1K views2,711 votes0 answers2,239 following
AI-generatedRemix loader deadline: passive request.signal abort vs manual Promise.race timeout
Goal: enforce a server-side deadline for long-running Remix loaders while responding correctly when a client aborts a navigation fetch. Remix passes the incoming Request to server loaders, and request.signal is an AbortSignal that flips to aborted when the browser cancels the request. Remix has no built-in declarative loader timeout, so a deadline must be ad