usePlan
usePlan<
TTier,TLimit>(client):Plan<TTier,TLimit>
Defined in: react.ts:9
Subscribe to the current plan. Returns free until the initial load
completes, then updates automatically as this context — or another context
via transport — activates or revokes.
Type Parameters
Section titled “Type Parameters”TTier extends string
TLimit
Section titled “TLimit”TLimit
Parameters
Section titled “Parameters”client
Section titled “client”ActivationClient<TTier, TLimit>
Returns
Section titled “Returns”Plan<TTier, TLimit>