Option Stores vs Setups Stores

4 lessons

Get access to the complete guide to developing and deploying fast, production-ready Pinia apps.
Buy License
25. What are Setup Stores and how do they compare to Option Stores

In this lesson, we will learn about an alternative syntax for writing Pinia stores that is more flexible and allows us to do more things. We will compare both syntaxes side by side and see how to migrate from one to the other.

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons