{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/73","repository_url":"https://api.github.com/repos/FormidableLabs/rapscallion","labels_url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/73/comments","events_url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/73/events","html_url":"https://github.com/FormidableLabs/rapscallion/issues/73","id":221402849,"number":73,"title":"babel-plugin-server: prop without value","user":{"login":"shuhei","id":498635,"avatar_url":"https://avatars0.githubusercontent.com/u/498635?v=3","gravatar_id":"","url":"https://api.github.com/users/shuhei","html_url":"https://github.com/shuhei","followers_url":"https://api.github.com/users/shuhei/followers","following_url":"https://api.github.com/users/shuhei/following{/other_user}","gists_url":"https://api.github.com/users/shuhei/gists{/gist_id}","starred_url":"https://api.github.com/users/shuhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuhei/subscriptions","organizations_url":"https://api.github.com/users/shuhei/orgs","repos_url":"https://api.github.com/users/shuhei/repos","events_url":"https://api.github.com/users/shuhei/events{/privacy}","received_events_url":"https://api.github.com/users/shuhei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-12T22:00:42Z","updated_at":"2017-05-07T12:28:15Z","closed_at":null,"body":"`babel-plugin-server` throws an error on [a prop without value](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-boolean-value.md).\r\n\r\nA minimum test case:\r\n\r\n```sh\r\n$ echo '<Foo isFoo />;' | ./node_modules/.bin/babel --plugins ./src/transform/server\r\nTypeError: unknown: Property value of ObjectProperty expected node to be of a type [\"Expression\"] but instead got null\r\n    at Object.validate (/Users/shuhei/work/js/rapscallion/node_modules/babel-types/lib/definitions/index.js:109:13)\r\n    at validate (/Users/shuhei/work/js/rapscallion/node_modules/babel-types/lib/index.js:505:9)\r\n    at Object.builder (/Users/shuhei/work/js/rapscallion/node_modules/babel-types/lib/index.js:466:7)\r\n    at attributes.map.attr (/Users/shuhei/work/js/rapscallion/src/transform/server.js:97:14)\r\n    at Array.map (native)\r\n    at getComponentProps (/Users/shuhei/work/js/rapscallion/src/transform/server.js:91:14)\r\n    at prerenderComponent (/Users/shuhei/work/js/rapscallion/src/transform/server.js:67:31)\r\n    at PluginPass.enter (/Users/shuhei/work/js/rapscallion/src/transform/server.js:21:13)\r\n    at newFn (/Users/shuhei/work/js/rapscallion/node_modules/babel-traverse/lib/visitors.js:276:21)\r\n    at NodePath._call (/Users/shuhei/work/js/rapscallion/node_modules/babel-traverse/lib/path/context.js:76:18)\r\n```"},"comment":{"url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/comments/299703131","html_url":"https://github.com/FormidableLabs/rapscallion/issues/73#issuecomment-299703131","issue_url":"https://api.github.com/repos/FormidableLabs/rapscallion/issues/73","id":299703131,"user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars2.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"created_at":"2017-05-07T12:28:15Z","updated_at":"2017-05-07T12:28:15Z","body":"I've run into this as well: https://github.com/ismay/ismaywolff.nl/pull/406 (caused by this [property](https://github.com/ismay/ismaywolff.nl/blob/453516ebe5784e84716e88db2e39e37284feb14b/src/shared/components/images/components/Zoomable.jsx#L47))"}}
{"actor":{"display_login":"ismay"}}