Commit a67fe1d7 authored by Janka Uryga's avatar Janka Uryga

add extra logs in pages

parent 84215b3e
export default async function Page(props: {
params: Promise<{ top: string; bottom: string }>
}) {
const location = '/none/[top]/unwrapped/[bottom]/page.tsx'
process.stdout.write(`${location} :: awaiting params\n`)
using _ = {
async [Symbol.dispose]() {
process.stdout.write(`${location} :: finished awaiting params\n`)
},
}
return (
<p>
Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
......
export default async function Page(props: {
params: Promise<{ top: string; bottom: string }>
}) {
const location = '/none/[top]/wrapped/[bottom]/page.tsx'
process.stdout.write(`${location} :: awaiting params\n`)
using _ = {
async [Symbol.dispose]() {
process.stdout.write(`${location} :: finished awaiting params\n`)
},
}
return (
<p>
Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
......
export default async function Page(props: {
params: Promise<{ top: string; bottom: string }>
}) {
const location = '/partial/[top]/unwrapped/[bottom]/page.tsx'
process.stdout.write(`${location} :: awaiting params\n`)
using _ = {
async [Symbol.dispose]() {
process.stdout.write(`${location} :: finished awaiting params\n`)
},
}
return (
<p>
Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
......
export default async function Page(props: {
params: Promise<{ top: string; bottom: string }>
}) {
const location = '/partial/[top]/wrapped/[bottom]/page.tsx'
process.stdout.write(`${location} :: awaiting params\n`)
using _ = {
async [Symbol.dispose]() {
process.stdout.write(`${location} :: finished awaiting params\n`)
},
}
return (
<p>
Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
......
......@@ -69,11 +69,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......@@ -98,11 +98,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......@@ -130,11 +130,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......@@ -159,11 +159,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......@@ -191,11 +191,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......@@ -220,11 +220,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26) @ Page
> 6 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26) @ Page
> 13 | Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (6:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (13:26)",
"ReportValidation <anonymous>",
],
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment