0👍
Should you be using mapState
instead of mapGetters
to directly map the state products
to your component? Do you have a getter called products
that does some extra work?
...mapState([
'products'
]),
Source:stackexchange.com
0👍
Should you be using mapState
instead of mapGetters
to directly map the state products
to your component? Do you have a getter called products
that does some extra work?
...mapState([
'products'
]),