next.js/packages/next/src/build/rendering-mode.ts
rendering-mode.ts18 lines478 B
/**
 * 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',
}
Quest for Codev2.0.0
/
SIGN IN