{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vuex/issues/136","repository_url":"https://api.github.com/repos/vuejs/vuex","labels_url":"https://api.github.com/repos/vuejs/vuex/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vuex/issues/136/comments","events_url":"https://api.github.com/repos/vuejs/vuex/issues/136/events","html_url":"https://github.com/vuejs/vuex/issues/136","id":146411183,"number":136,"title":"Component does not update binding when state changes","user":{"login":"TomKita","id":1854580,"avatar_url":"https://avatars.githubusercontent.com/u/1854580?v=3","gravatar_id":"","url":"https://api.github.com/users/TomKita","html_url":"https://github.com/TomKita","followers_url":"https://api.github.com/users/TomKita/followers","following_url":"https://api.github.com/users/TomKita/following{/other_user}","gists_url":"https://api.github.com/users/TomKita/gists{/gist_id}","starred_url":"https://api.github.com/users/TomKita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomKita/subscriptions","organizations_url":"https://api.github.com/users/TomKita/orgs","repos_url":"https://api.github.com/users/TomKita/repos","events_url":"https://api.github.com/users/TomKita/events{/privacy}","received_events_url":"https://api.github.com/users/TomKita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-06T19:34:24Z","updated_at":"2016-04-06T21:40:42Z","closed_at":"2016-04-06T21:40:42Z","body":"My component is not updating its binding to a getter when the state is changed.\r\n\r\n```\r\nexport default {\r\n     vuex: {\r\n            getters: {\r\n                products: function (state) {\r\n                    return state.event.data\r\n                }\r\n            },\r\n            actions: {\r\n                getEvent\r\n            }\r\n        },\r\n```\r\n\r\nIn the template I have a binding to update products like so\r\n\r\n```\r\n<template>\r\n   {{ products }}\r\n   <button v-on:click=\"triggerIt\">Trigger</button>\r\n</template>\r\n````\r\n\r\nHere is my store:\r\n```\r\nconst state = {\r\n    data: []\r\n};\r\n\r\nconst mutations = {\r\n    [GET_EVENT_DATA] (state, event) {\r\n        state.data = event;\r\n    }\r\n}\r\n```\r\n\r\nI checked dev tools and I see that the store gets updated correctly and so does the component's vuex getter. However, its not being reflected in the `{{ products }}` binding.\r\n"}}