Consuming the store

4 lessons

Get access to the complete guide to developing and deploying fast, production-ready Pinia apps.
Buy License
22. How does `useStore()` work?

In this lesson, we will cover how the composable function returned by defineStore() works. This will not only help us understand where that composable can be called from but also how to use the store outside of components.

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons