Download next.js/test/production/export/pages/query.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/export/pages/query.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/production/export/pages/query.js
-
curl -L -o query.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/export/pages/query.js
222 Bytes
| import { Component } from 'react' | |
| class Page extends Component { | |
| static getInitialProps({ query }) { | |
| return { query } | |
| } | |
| render() { | |
| return JSON.stringify(this.props.query, null, 2) | |
| } | |
| } | |
| export default Page | |