Commit f9dd040
committed
fix(web): await replay [id] params inside Suspense for Next 16 cacheComponents
Public /replay/[id] (outside the (app)/Clerk group) was statically prerendered at
build and failed cacheComponents' 'uncached data outside <Suspense>' check on
`await params`. Wrap the param-awaiting child in <Suspense> (same pattern as the
home-page searchParams fix). Verified with a full local web build.1 parent 122a4af commit f9dd040
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
0 commit comments