PluginApiRef.value
PluginApiRef › value
Type: null | TApi
The API, ornull when it is not currently available.Always current, synchronous, and free — the ref maintains it, so there is no registry lookup per read.
null here means "not available right now", NOT "not installed": during a consumer's onload the provider may simply not have loaded yet, and the value becomes non-null on its own.