{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vuex/issues/1085","repository_url":"https://api.github.com/repos/vuejs/vuex","labels_url":"https://api.github.com/repos/vuejs/vuex/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vuex/issues/1085/comments","events_url":"https://api.github.com/repos/vuejs/vuex/issues/1085/events","html_url":"https://github.com/vuejs/vuex/issues/1085","id":280441379,"number":1085,"title":"Easy two-way binding between v-model and vuex #1084","user":{"login":"pSchaub","id":11846736,"avatar_url":"https://avatars0.githubusercontent.com/u/11846736?v=4","gravatar_id":"","url":"https://api.github.com/users/pSchaub","html_url":"https://github.com/pSchaub","followers_url":"https://api.github.com/users/pSchaub/followers","following_url":"https://api.github.com/users/pSchaub/following{/other_user}","gists_url":"https://api.github.com/users/pSchaub/gists{/gist_id}","starred_url":"https://api.github.com/users/pSchaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pSchaub/subscriptions","organizations_url":"https://api.github.com/users/pSchaub/orgs","repos_url":"https://api.github.com/users/pSchaub/repos","events_url":"https://api.github.com/users/pSchaub/events{/privacy}","received_events_url":"https://api.github.com/users/pSchaub/received_events","type":"User","site_admin":false},"labels":[{"id":397652763,"url":"https://api.github.com/repos/vuejs/vuex/labels/proposal","name":"proposal","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-08T10:24:10Z","updated_at":"2018-03-02T08:52:57Z","closed_at":null,"author_association":"NONE","body":"### What problem does this feature solve?\r\nEasy two-way binding between `v-model` and vuex state / mutations.\r\n\r\n### What does the proposed API look like?\r\nFor example I want to bind the state of the global menu to a vuex state.\r\n\r\nMeanwhile I use this manual workaround in my component:\r\n```\r\ncomputed: {\r\n  nav: {\r\n    get () { return this.$store.state.nav },\r\n    set (v) { this.$store.commit('SET_NAV', v) }\r\n  }\r\n}\r\n```\r\n\r\n**It would be helpful to have an easy function like `mapGetters` to do this.**\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vuejs/vuex/issues/comments/369860051","html_url":"https://github.com/vuejs/vuex/issues/1085#issuecomment-369860051","issue_url":"https://api.github.com/repos/vuejs/vuex/issues/1085","id":369860051,"user":{"login":"Shyam-Chen","id":13535256,"avatar_url":"https://avatars1.githubusercontent.com/u/13535256?v=4","gravatar_id":"","url":"https://api.github.com/users/Shyam-Chen","html_url":"https://github.com/Shyam-Chen","followers_url":"https://api.github.com/users/Shyam-Chen/followers","following_url":"https://api.github.com/users/Shyam-Chen/following{/other_user}","gists_url":"https://api.github.com/users/Shyam-Chen/gists{/gist_id}","starred_url":"https://api.github.com/users/Shyam-Chen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shyam-Chen/subscriptions","organizations_url":"https://api.github.com/users/Shyam-Chen/orgs","repos_url":"https://api.github.com/users/Shyam-Chen/repos","events_url":"https://api.github.com/users/Shyam-Chen/events{/privacy}","received_events_url":"https://api.github.com/users/Shyam-Chen/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T08:52:57Z","updated_at":"2018-03-02T08:52:57Z","author_association":"NONE","body":"I made a simple library.\r\n\r\nhttps://github.com/Vanilla-IceCream/vuex-bound"}}
{"actor":{"display_login":"Shyam-Chen"}}