To expound on the topic, I have created a video tutorial demo on how to create a store to maintain a list of favorite restaurants. The demo will work with an asynchronous API to fetch, create, update, and delete a list of favorite restaurants which will be maintained in (vue-dfs) store. You'll learn how to make your state read-only and how to update the state via "trackable" mutations.
A few tutorials already touch on the topic of providing a reactive object and functions to update this state down the application tree. However, the ones I have seen don't use Typescript, which is one of the benefits of Vue 3 and the composition API. They also don't show how you might create your own "API" for accessing and modifying the state.
What's more? I'll be showing you how to create Vue plugins and an example of a Vite development environment with Typescript and TailwindCSS setup!
I hope these additions will be helpful to intermediate and advanced Vue developers who are interested in using the latest and greatest!
Here's some related, and maybe prerequisite, content that you might find useful while checking out my video!