next.js/bench/basic-app/app/streaming/bulk/page.js
page.js22 lines386 B
import React from 'react'

export const dynamic = 'force-dynamic'

const ROWS = 2500
const PAYLOAD = 'x'.repeat(384)
const DATA = Array.from(
  { length: ROWS },
  (_, index) => `row-${index}-${PAYLOAD}`
)

export default function Page() {
  return (
    <main>
      <h1>stream-bulk</h1>
      {DATA.map((line, index) => (
        <p key={index}>{line}</p>
      ))}
    </main>
  )
}
Quest for Codev2.0.0
/
SIGN IN