Download next.js/bench/rendering/pages/stateless-big.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/bench/rendering/pages/stateless-big.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/bench/rendering/pages/stateless-big.js
-
curl -L -o stateless-big.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/bench/rendering/pages/stateless-big.js
244 Bytes
| import React from 'react' | |
| export default () => { | |
| return <ul>{items()}</ul> | |
| } | |
| const items = () => { | |
| const 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 | |
| } | |