HF RL Explorer

Fetcher action returning 4XX status triggers unnecessary loader revalidation

Fetcher action returning 4XX status triggers unnecessary loader revalidation: a task in LegoFlow-SWE (Harbor dataset). When a fetcher action returns an HTTP error response (4XX or 5XX, e.g., 422 Unprocessable Entity), React Router incorrectly triggers revalidation of loaders. This behavior is…

The task

When a fetcher action returns an HTTP error response (4XX or 5XX, e.g., 422 Unprocessable Entity), React Router incorrectly triggers revalidation of loaders. This behavior is inconsistent with how regular `<Form>` submissions work: a form action returning a 4XX/5XX response correctly **skips** revalidation, but the…

Part of Lego-X/LegoFlow-SWE.