Do you need Vuex in vue3?

The main reason Vuex exists is to allow global reactive state in a Vue app . Without it, you could only share local component state via the component interface i.e. props/events. … You can, for example, create a module file exporting reactive variables and import this into any component where you want to use it.

Sizin İçin Seçtik  What is VueJS state management?

Leave a Reply

Your email address will not be published. Required fields are marked *