Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Mission control shows where you are needed and what agents landed without you; git answers in about 200ms | 1 | import { data } from "react-router"; |
| 2 | ||
| 3 | import type { MissingKind } from "./not-found"; | |
| 4 | ||
| 5 | /** | |
| 6 | * The 404 a loader throws when the viewer cannot see what the address | |
| 7 | * names. It carries only the kind of thing, never whether it exists, and is | |
| 8 | * thrown the same way for something private and something missing. | |
| 9 | */ | |
| 10 | export function notFound(kind: MissingKind) { | |
| 11 | return data({ kind }, { status: 404 }); | |
| 12 | } |
This file's history is long; its oldest lines are credited to the oldest commit read.