Introduction

10 lessons

7. Using `inject` and `provide` to ensure app-specific stores

Let's refactor our store to use what we just saw and bring it a bit closer to compatibility with SSR. During this exercise, we will refactor the defineStore() function from the previous exercise and rely on effectScope(), inject() provide() to make it more robust.

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons