Download next.js/packages/next/src/build/rendering-mode.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/build/rendering-mode.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/build/rendering-mode.ts
-
curl -L -o rendering-mode.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/build/rendering-mode.ts
478 Bytes
| /** | |
| * The rendering mode for a route. | |
| */ | |
| export const enum RenderingMode { | |
| /** | |
| * `STATIC` rendering mode will output a fully static HTML page or error if | |
| * anything dynamic is used. | |
| */ | |
| STATIC = 'STATIC', | |
| /** | |
| * `PARTIALLY_STATIC` rendering mode will output a fully static HTML page if | |
| * the route is fully static, but will output a partially static HTML page if | |
| * the route uses uses any dynamic API's. | |
| */ | |
| PARTIALLY_STATIC = 'PARTIALLY_STATIC', | |
| } | |