We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe8731 commit fc7239fCopy full SHA for fc7239f
docs/how-to/suspense.md
@@ -29,6 +29,8 @@ export async function loader({}: Route.LoaderArgs) {
29
}
30
```
31
32
+Note you can't return a single promise, it must be an object with keys.
33
+
34
## 2. Render the fallback and resolved UI
35
36
The promise will be available on `loaderData`, `<Await>` will await the promise and trigger `<Suspense>` to render the fallback UI.
0 commit comments