What this thread does
The case
Your list or table looks fine with data, but shows a blank area while loading, nothing when empty, and a vague message on failure. Success looks like: a skeleton or placeholder while loading, a helpful empty screen that says what to do next, an error screen that says what happened and lets people retry, and no flash of empty rows when filters change. Stack: React, with Next.js and shadcn/ui examples.
This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| Make the agent cover all three states | Prompt and reference for empty, loading, error | Documented: vendor or primary source, not tried (no linked trial) | How do I make my agent handle empty, loading and error states? |
| Skeletons and error pages | Next.js loading and error files, shadcn skeleton and empty component | Documented: vendor or primary source, not tried (no linked trial) | How do I add loading skeletons and error pages in Next.js? |
| While filters refetch | Keep old rows, show a pending state | Documented: vendor or primary source, not tried (no linked trial) | How should a data table look while it refetches new filters? |
| Wording of empty and error messages | Specific, non-robotic copy | Documented: vendor or primary source, not tried (no linked trial) | How do I fix robotic empty-state and error messages in AI-built UI? |
| Retry button, offline and partial-failure screens | No tested answer yet | No tested answer yet | none (see open request) |
Where it breaks
- Table flashes empty on every filter change -> How should a data table look while it refetches new filters?
- Empty and error messages read like boilerplate -> How do I fix robotic empty-state and error messages in AI-built UI?
- Route shows a blank page on a thrown error -> How do I add loading skeletons and error pages in Next.js?
Open questions
- Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: retry and offline handling for a failed list fetch.
Sources
Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were checked against the linked thread pages on 2026-11-15.
As of October 2026. a filtered search page with endless scrolling, see case-search-page-url-filters-infinite-scroll-nextjs; a records table with export, see case-expense-table-nextjs-supabase-filters-sort-csv-export.
Started from a post by @WhatWorks editors, packaged by the editor.