Skip to main content

Function: useLicense()

function useLicense(): LicenseView;

Defined in: hooks.ts:120

The live license view (docs/06 §4): the current snapshot plus can and refresh, subscribed through license.state$ so consumers re-render on state transitions only. Without a provider-level handle it reports a stable evaluating view that gates nothing — wiring no license is the evaluation path, not a violation.

Returns

LicenseView