- {[1, 2, 3].map((i) => (
+ {[1, 2, 3].map((slot) => (
))}
diff --git a/examples/app-router-playground/app/use-link-status/[section]/[category]/page.tsx b/examples/app-router-playground/app/use-link-status/[section]/[category]/page.tsx
index a0efe31d6..6567b4f53 100644
--- a/examples/app-router-playground/app/use-link-status/[section]/[category]/page.tsx
+++ b/examples/app-router-playground/app/use-link-status/[section]/[category]/page.tsx
@@ -12,12 +12,13 @@ export default async function Page({
// DEMO:
// This page would normally be prerendered at build time because it doesn't use dynamic APIs.
// That means the loading state wouldn't show. To force one:
- // 1. We indicate that we require a user Request before continuing:
- await connection();
- // 2. Add an artificial delay to make the loading state more noticeable:
- await new Promise((resolve) => setTimeout(resolve, 1000));
-
- const { category: categorySlug } = await params;
+ // 1. We indicate that we require a user Request before continuing.
+ // 2. Add an artificial delay to make the loading state more noticeable.
+ const [{ category: categorySlug }] = await Promise.all([
+ params,
+ connection(),
+ new Promise((resolve) => setTimeout(resolve, 1000)),
+ ]);
const category = db.category.find({ where: { slug: categorySlug } });
if (!category) {
notFound();
diff --git a/examples/app-router-playground/ui/click-counter.tsx b/examples/app-router-playground/ui/click-counter.tsx
index dbf3f79ba..97afd62b1 100644
--- a/examples/app-router-playground/ui/click-counter.tsx
+++ b/examples/app-router-playground/ui/click-counter.tsx
@@ -7,7 +7,7 @@ export function ClickCounter() {
return (