Download next.js/test/integration/app-functional/pages/_app.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-functional/pages/_app.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/app-functional/pages/_app.js
-
curl -L -o _app.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-functional/pages/_app.js
575 Bytes
| function MyApp({ Component, pageProps }) { | |
| return <Component {...pageProps} /> | |
| } | |
| // Only uncomment this method if you have blocking data requirements for | |
| // every single page in your application. This disables the ability to | |
| // perform automatic static optimization, causing every page in your app to | |
| // be server-side rendered. | |
| // | |
| // MyApp.getInitialProps = async (appContext) => { | |
| // // calls page's `getInitialProps` and fills `appProps.pageProps` | |
| // const appProps = await App.getInitialProps(appContext); | |
| // | |
| // return { ...appProps } | |
| // } | |
| export default MyApp | |