Introduction

10 lessons

5. Creating our own `defineStore()`

Let's refactor our store to use effectScope() and bring it closer to compatibility with SSR. During this exercise, we will create our own defineStore() function, similar to Pinia's defineStore().

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons