{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/issues/342","repository_url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev","labels_url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/issues/342/comments","events_url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/issues/342/events","html_url":"https://github.com/mozilla-neutrino/neutrino-dev/issues/342","id":262926143,"number":342,"title":"Decorators transpilation is broken in React preset","user":{"login":"constgen","id":673144,"avatar_url":"https://avatars0.githubusercontent.com/u/673144?v=4","gravatar_id":"","url":"https://api.github.com/users/constgen","html_url":"https://github.com/constgen","followers_url":"https://api.github.com/users/constgen/followers","following_url":"https://api.github.com/users/constgen/following{/other_user}","gists_url":"https://api.github.com/users/constgen/gists{/gist_id}","starred_url":"https://api.github.com/users/constgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constgen/subscriptions","organizations_url":"https://api.github.com/users/constgen/orgs","repos_url":"https://api.github.com/users/constgen/repos","events_url":"https://api.github.com/users/constgen/events{/privacy}","received_events_url":"https://api.github.com/users/constgen/received_events","type":"User","site_admin":false},"labels":[{"id":752445021,"url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/labels/bug","name":"bug","color":"8050d3","default":true},{"id":536974928,"url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/labels/docs","name":"docs","color":"fef2c0","default":false},{"id":728396837,"url":"https://api.github.com/repos/mozilla-neutrino/neutrino-dev/labels/good%20first%20issue","name":"good first issue","color":"bfd4f2","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-04T20:50:51Z","updated_at":"2017-11-28T19:06:36Z","closed_at":"2017-11-28T19:06:36Z","author_association":"MEMBER","body":"Have spent 2 days without result to integrate decorators transpilation to Babel on project with `neutrino-preset-react`. The issue is not reproduced on the same code base but on `neutrino-preset-web`. I tried all suggestions from Internet in all possible combinations but nothing worked. The error sounds like\r\n\r\n```\r\nMethod has decorators, put the decorator plugin before the classes one\r\n```\r\n\r\nThis is a test suite https://mega.nz/#!rN1WwYIK!hOBFn6E5akz522HOnlQFysoy8HKLEH-l4vRydOYqv7A . Switch preset in `.neutrinorc.js` and run again `npm start` to see different behavior. \r\n\r\nHad no problems with the similar configuration in Neutrino 5. I believe the issue appeared starting from Neutrino 6 and later when we included class properties syntax by default to React preset.\r\n\r\nIt may be a serious blocker because decorators are necessary for `mobx` and `react-dnd`.\r\n"}}
{"actor":{"display_login":"eliperelman"}}