Skip to content

API Documentation / @pinia/colada / PiniaColadaPluginContext

Interface: PiniaColadaPluginContext

Context passed to a Pinia Colada plugin.

Properties

pinia

ts
pinia: Pinia;

The Pinia instance used by the application.


queryCache

ts
queryCache: Store;

The query cache used by the application.


scope

ts
scope: EffectScope;

An effect scope to collect effects. It should be used if you use any reactivity API like ref(), watch(), computed(), etc.

See

https://vuejs.org/api/reactivity-advanced.html#effectscope

Released under the MIT License.