DEV Community

Discussion on: Watch for Vuex State changes!

Collapse
 
isabolic99 profile image
isabolic99

Or you could set getter as a function call, example:


isSearch: (state: CustomsState) => () => {
return state.isSearch
},

Collapse
 
viniciuskneves profile image
Vinicius Kiatkoski Neves

Hey @isabolic99 , sorry but I didn't get your point here. Could you add more context?

Thanks!