[Vuejs]-Vuex store.watch behavior

0👍

thanksd it does indeed.
The real project I extracted this example from is in typescript, following this tutorial, and it seems the problem is that module property was set as optional and not initialized. It still logged the mutation and modified the state but did not trigger any watch. Kinda weird.

Leave a comment