Introduction

10 lessons

Get access to the complete guide to developing and deploying fast, production-ready Pinia apps.
Buy License
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