# StaticRendering

A boolean service that indicates whether the current rendering context is static.

If `true`, the HTML renderer will optimize for static output, potentially skipping
dynamic placeholder generation or other interactive features not needed for static HTML.

## Signatures

```ts
export declare const StaticRendering: Context.Reference<boolean>;
```

## Why

Static and hydratable SSR share one renderer while making marker generation
an explicit service choice.

## Ownership and lifetime

The reference has a default of `false` and owns no resource. A provided value
is scoped by the surrounding Effect context.

## Examples

```ts
import { StaticRendering } from "@typed/template/Html"
import { Effect } from "effect"

const isStatic = Effect.runSync(StaticRendering)
```
