{"action":"created","issue":{"url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/21","labels_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/21/comments","events_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/21/events","html_url":"https://github.com/thereactivestack/meteor-webpack/issues/21","id":114477378,"number":21,"title":"I'm having an issue when using this with material-ui","user":{"login":"gabrielhpugliese","id":1252818,"avatar_url":"https://avatars.githubusercontent.com/u/1252818?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielhpugliese","html_url":"https://github.com/gabrielhpugliese","followers_url":"https://api.github.com/users/gabrielhpugliese/followers","following_url":"https://api.github.com/users/gabrielhpugliese/following{/other_user}","gists_url":"https://api.github.com/users/gabrielhpugliese/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielhpugliese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielhpugliese/subscriptions","organizations_url":"https://api.github.com/users/gabrielhpugliese/orgs","repos_url":"https://api.github.com/users/gabrielhpugliese/repos","events_url":"https://api.github.com/users/gabrielhpugliese/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielhpugliese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-11-01T15:48:53Z","updated_at":"2015-11-11T23:37:08Z","closed_at":null,"body":"In order to some of components from React material-ui to work, we need to run a simple snippet:\r\n```\r\nvar injectTapEventPlugin = require(\"react-tap-event-plugin\");\r\ninjectTapEventPlugin();\r\n```\r\nThis need to run before we render anything as we can see here: https://github.com/callemall/material-ui/issues/1011#issuecomment-117841529\r\n\r\nBut I'm adding that code to `entry/client/entry.js` and I think it's not running before the first render. Also tried with `Meteor.startup()` block but with no luck.\r\n\r\nDo you have any recommendation here?"},"comment":{"url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/comments/155944632","html_url":"https://github.com/thereactivestack/meteor-webpack/issues/21#issuecomment-155944632","issue_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/21","id":155944632,"user":{"login":"genyded","id":3081676,"avatar_url":"https://avatars.githubusercontent.com/u/3081676?v=3","gravatar_id":"","url":"https://api.github.com/users/genyded","html_url":"https://github.com/genyded","followers_url":"https://api.github.com/users/genyded/followers","following_url":"https://api.github.com/users/genyded/following{/other_user}","gists_url":"https://api.github.com/users/genyded/gists{/gist_id}","starred_url":"https://api.github.com/users/genyded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genyded/subscriptions","organizations_url":"https://api.github.com/users/genyded/orgs","repos_url":"https://api.github.com/users/genyded/repos","events_url":"https://api.github.com/users/genyded/events{/privacy}","received_events_url":"https://api.github.com/users/genyded/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T23:37:08Z","updated_at":"2015-11-11T23:37:08Z","body":"@coniel - BRILLIANT!!! I was so focused on trying to get it integrated the \"normal\" way it did not even occur to me to check Atmosphere (or just create my own as a Meteor package). Yours allows the material-ui components to function properly - thanks for that!\r\n\r\nLet's just hope between all the change in Meteor, React, Material UI, and the tap event plug-in this all keeps working - there has been issue after issue with this stuff even without Meteor in the mix. Thanks again for doing this and posting it though - if things do break - I'm sure someone else will be the culprit ;-)\r\n\r\n@eXon (Benoit) - This means for now - we can continue to use the ReactiveStack stuff (which we LOVE!!!!!!). I just wanted to THANK YOU (and the team if there is one) for putting together some great, solid stuff and for being SO responsive!!!! I'll sure help out with anything you may need where and when I can! Not we all go back to trying to hit our moving targets ;-)\r\n\r\nDale"}}