인프런 커뮤니티 질문&답변
답변 1
1
장기효(캡틴판교)
지식공유자
안녕하세요, 네 mapState()는 computed에서 사용하시면 됩니다.
https://vuex.vuejs.org/guide/state.html#the-mapstate-helper
맵 액션은 메서드를 묶을 때 사용하셔야 해요 :)
https://vuex.vuejs.org/guide/actions.html#dispatching-actions-in-components
답변 1
1
안녕하세요, 네 mapState()는 computed에서 사용하시면 됩니다.
https://vuex.vuejs.org/guide/state.html#the-mapstate-helper
맵 액션은 메서드를 묶을 때 사용하셔야 해요 :)
https://vuex.vuejs.org/guide/actions.html#dispatching-actions-in-components