currentPath property

Signal<String> currentPath
latefinal

Reactive signal tracking the current URL pathname.

Updates automatically on navigate, replace, or browser back/forward popstate events. Reading currentPath.value inside a Live or Show boundary triggers a re-render whenever navigation occurs.

Implementation

late final Signal<String> currentPath;