mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
18 lines
260 B
JavaScript
18 lines
260 B
JavaScript
|
import React from 'react'
|
||
|
|
||
|
export default () => {
|
||
|
return (
|
||
|
<ul>
|
||
|
{items()}
|
||
|
</ul>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
const items = () => {
|
||
|
var out = new Array(10000)
|
||
|
for (let i = 0; i < out.length; i++) {
|
||
|
out[i] = <li key={i}>This is row {i+1}</li>
|
||
|
}
|
||
|
return out
|
||
|
}
|