Vue.js and Vuex - best practices for managing your state Modifying state object Example If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator). Example below explains implications for different implementations.