# CurrentPath

Reactively exposes the current pathname and search string, excluding origin and hash.

## Signatures

```ts
export declare const CurrentPath: RefSubject.Computed<string, never, Navigation>;
```

## Why

Router matching needs a stable backend-neutral location source while leaving browser-only URL
details to the provider.

## Ownership and lifetime

This computed RefSubject acquires no independent listener. It borrows the active Navigation
service and lives for the consuming Effect's subscription.

## Examples

```ts
import { CurrentPath } from "@typed/navigation/Navigation"
import * as Effect from "effect/Effect"

const readPath = Effect.map(CurrentPath, (path) => path)
```
