{"action":"created","issue":{"url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/42","repository_url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react","labels_url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/42/comments","events_url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/42/events","html_url":"https://github.com/thereactivestack/kickstart-meteor-react/issues/42","id":127763212,"number":42,"title":"react-toolbox integration","user":{"login":"aurelien-ctouch","id":16793867,"avatar_url":"https://avatars.githubusercontent.com/u/16793867?v=3","gravatar_id":"","url":"https://api.github.com/users/aurelien-ctouch","html_url":"https://github.com/aurelien-ctouch","followers_url":"https://api.github.com/users/aurelien-ctouch/followers","following_url":"https://api.github.com/users/aurelien-ctouch/following{/other_user}","gists_url":"https://api.github.com/users/aurelien-ctouch/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelien-ctouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelien-ctouch/subscriptions","organizations_url":"https://api.github.com/users/aurelien-ctouch/orgs","repos_url":"https://api.github.com/users/aurelien-ctouch/repos","events_url":"https://api.github.com/users/aurelien-ctouch/events{/privacy}","received_events_url":"https://api.github.com/users/aurelien-ctouch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T19:19:57Z","updated_at":"2016-05-07T16:10:48Z","closed_at":"2016-05-07T16:10:48Z","body":"Hi, thanks for your great work ! \r\nI am trying to integrate react-toolbox with your awesome work, but I am stuck. I have forked your repo to help anybody to reproduce the issue, with two tags (first/second try):\r\nAt first I have enabled scss, added needed webpack loaders as advised by react-toolbox guidelines and included a simple empty button without styling.\r\nWith this [first attempt](https://github.com/aurelien-ctouch/kickstart-simple/tree/first_try) I get the following error at page loading :\r\n> Error: Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)\r\n\r\nIt is a common issue due to several versions of React loaded. I have checked npm ls, and I got one single React dependency. I assumed that the \"node React\" was conflicting with the \"meteor React\", so I tried to add React as external,\r\nWith this [second attempt](https://github.com/aurelien-ctouch/kickstart-simple/tree/second_try) the previous error disappeared, but on button click/over, I keep getting another error:\r\n> React can't find the root component node for data-reactid value .0.1.1. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time. externals: { // Add global variables you would like to import 'react': 'React' }\r\n\r\nIt seems that 2 instances of React are loaded, even though this time it is the same version. I even tried to remove react-runtime from Meteor, without success.\r\n\r\nAt this point I am stuck, the one thing I don't understand is why npm ls gives me a React **direct** dependency, although it is missing in the webpack.packages.json.\r\n\r\nThanks a lot for your time and effort ! \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/comments/217647916","html_url":"https://github.com/thereactivestack/kickstart-meteor-react/issues/42#issuecomment-217647916","issue_url":"https://api.github.com/repos/thereactivestack/kickstart-meteor-react/issues/42","id":217647916,"user":{"login":"eXon","id":280982,"avatar_url":"https://avatars.githubusercontent.com/u/280982?v=3","gravatar_id":"","url":"https://api.github.com/users/eXon","html_url":"https://github.com/eXon","followers_url":"https://api.github.com/users/eXon/followers","following_url":"https://api.github.com/users/eXon/following{/other_user}","gists_url":"https://api.github.com/users/eXon/gists{/gist_id}","starred_url":"https://api.github.com/users/eXon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXon/subscriptions","organizations_url":"https://api.github.com/users/eXon/orgs","repos_url":"https://api.github.com/users/eXon/repos","events_url":"https://api.github.com/users/eXon/events{/privacy}","received_events_url":"https://api.github.com/users/eXon/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T16:10:48Z","updated_at":"2016-05-07T16:10:48Z","body":"This shouldn't be a problem now that we use React from NPM"}}