{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/babel-plugin-transform-vue-jsx/issues/38","repository_url":"https://api.github.com/repos/vuejs/babel-plugin-transform-vue-jsx","labels_url":"https://api.github.com/repos/vuejs/babel-plugin-transform-vue-jsx/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/babel-plugin-transform-vue-jsx/issues/38/comments","events_url":"https://api.github.com/repos/vuejs/babel-plugin-transform-vue-jsx/issues/38/events","html_url":"https://github.com/vuejs/babel-plugin-transform-vue-jsx/issues/38","id":192764926,"number":38,"title":"How to use v-for in jsx","user":{"login":"luckyadam","id":1782542,"avatar_url":"https://avatars.githubusercontent.com/u/1782542?v=3","gravatar_id":"","url":"https://api.github.com/users/luckyadam","html_url":"https://github.com/luckyadam","followers_url":"https://api.github.com/users/luckyadam/followers","following_url":"https://api.github.com/users/luckyadam/following{/other_user}","gists_url":"https://api.github.com/users/luckyadam/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyadam/subscriptions","organizations_url":"https://api.github.com/users/luckyadam/orgs","repos_url":"https://api.github.com/users/luckyadam/repos","events_url":"https://api.github.com/users/luckyadam/events{/privacy}","received_events_url":"https://api.github.com/users/luckyadam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-01T06:30:37Z","updated_at":"2016-12-01T08:46:14Z","closed_at":"2016-12-01T08:46:14Z","body":"Hello, as title, how can I use `v-for` or `v-if` in jsx!Just like this:\r\n```\r\n<ul class=\"header_nav_list\">\r\n  <li v-for=\"(item, index) in nav\" class={{ header_nav_item: true, active: this.activeNav === item.type }}>{item.name}</li>\r\n</ul>\r\n```\r\nI just got an error `ReferenceError: item is not defined`"}}
{"actor":{"display_login":"luckyadam"}}