I'm new to your library and IT LOOKS GREAT!
I want to use it, but...... I'm having a very hard time understanding what exactly is happening, what the library creates in the store etc.
You wrote:
It works with modules as well, but you don't need to add the mutations there:
const store = new Vuex.Store({
modules: {
todos: {
state: {
todos: [], // Will be bound as an array
user: null // Will be bound as an object
},
}
}
})
I'm very confused why you create a module called todos and then it has a state with again todos and also user...
I'm new to your library and IT LOOKS GREAT! I want to use it, but...... I'm having a very hard time understanding what exactly is happening, what the library creates in the store etc.
You wrote:
I'm very confused why you create a module called
todos
and then it has a state with againtodos
and alsouser
...