Remix v2 Data Flow Quick Reference Loader + typed read : Action + redirect-after-success (PRG) : Canonical APIs Route modules export / ; components read results via and . After every action, Remix automatically revalidates the loaders of all matching routes on the page, so the UI stays consistent with the server without manual cache invalidation. Signatures: - — server-only read, runs on SSR and on client navigations via fetch. - — server-only handler for non-GET requests (POST/PUT/PATCH/DELETE). - — ergonomic JSON wrapper with status/headers. - — 30x response; default 302. Imports: for serve…