]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: note
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 13 Jul 2021 13:19:00 +0000 (15:19 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 19 Jul 2021 09:52:25 +0000 (11:52 +0200)
src/store.ts

index 89c8585a3515da400f89e312963250b4e1e3a1c6..83defd637d059da4f273c44a325b66b69bbd2501 100644 (file)
@@ -381,6 +381,7 @@ function createSetupStore<
         // createOptionStore already did this
       } else if (!buildState) {
         pinia.state.value[$id][key] = toRef(setupStore as any, key)
+        // TODO: avoid if state exists for SSR
       }
 
       if (__DEV__) {