Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.

web


web / lib/hooks/use-view-scope

lib/hooks/use-view-scope

Hook to derive a ViewScope from the current view context.

Returns a stable scope object for passing to query hooks, or undefined if no view scope is active.

Functions

useViewScope()

useViewScope(): ViewScope | undefined

Derives a ViewScope from the active view context. Returns undefined if no view is active or scope is “all”.

Returns

ViewScope | undefined

Last updated on