]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: comment api
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Mar 2024 09:56:11 +0000 (10:56 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Mar 2024 09:56:11 +0000 (10:56 +0100)
packages/pinia/src/createPinia.ts

index 33e3f4489a8230fc152bc92040778522af9abd46..eb7dc72394f020cc118273717ffbd350f9e2ff47 100644 (file)
@@ -67,6 +67,7 @@ export function createPinia(): Pinia {
 /**
  * Dispose a Pinia instance by stopping its effectScope and removing the state, plugins and stores. This is mostly
  * useful in tests, with both a testing pinia or a regular pinia and in applications that use multiple pinia instances.
+ * Once disposed, the pinia instance cannot be used anymore.
  *
  * @param pinia - pinia instance
  */