{"action":"created","issue":{"url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/24","labels_url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/24/comments","events_url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/24/events","html_url":"https://github.com/jasonslyvia/react-anything-sortable/issues/24","id":125218775,"number":24,"title":"Cannot read property 'firstChild' of undefined","user":{"login":"smadapathi","id":2045164,"avatar_url":"https://avatars.githubusercontent.com/u/2045164?v=3","gravatar_id":"","url":"https://api.github.com/users/smadapathi","html_url":"https://github.com/smadapathi","followers_url":"https://api.github.com/users/smadapathi/followers","following_url":"https://api.github.com/users/smadapathi/following{/other_user}","gists_url":"https://api.github.com/users/smadapathi/gists{/gist_id}","starred_url":"https://api.github.com/users/smadapathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smadapathi/subscriptions","organizations_url":"https://api.github.com/users/smadapathi/orgs","repos_url":"https://api.github.com/users/smadapathi/repos","events_url":"https://api.github.com/users/smadapathi/events{/privacy}","received_events_url":"https://api.github.com/users/smadapathi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-06T17:04:23Z","updated_at":"2016-01-07T05:51:51Z","closed_at":null,"body":"We are facing this issue when we have added this plugin. When we remove this plugin, it is working fine. On search, we can notice that it happens because of multiple reactjs versions.\r\nhttp://stackoverflow.com/questions/27153166/typeerror-when-using-react-cannot-read-property-firstchild-of-undefined\r\nIn bower.json, we can see this, is it the source of the issue?\r\n```javascript\r\n\"dependencies\": {\r\n    \"react\": \"*\"\r\n  }\r\n```\r\nAlso, we are using react version 0.13.3, react-anything-sortable 0.3.2\r\nThanks in Advance!"},"comment":{"url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/comments/169562187","html_url":"https://github.com/jasonslyvia/react-anything-sortable/issues/24#issuecomment-169562187","issue_url":"https://api.github.com/repos/jasonslyvia/react-anything-sortable/issues/24","id":169562187,"user":{"login":"smadapathi","id":2045164,"avatar_url":"https://avatars.githubusercontent.com/u/2045164?v=3","gravatar_id":"","url":"https://api.github.com/users/smadapathi","html_url":"https://github.com/smadapathi","followers_url":"https://api.github.com/users/smadapathi/followers","following_url":"https://api.github.com/users/smadapathi/following{/other_user}","gists_url":"https://api.github.com/users/smadapathi/gists{/gist_id}","starred_url":"https://api.github.com/users/smadapathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smadapathi/subscriptions","organizations_url":"https://api.github.com/users/smadapathi/orgs","repos_url":"https://api.github.com/users/smadapathi/repos","events_url":"https://api.github.com/users/smadapathi/events{/privacy}","received_events_url":"https://api.github.com/users/smadapathi/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T05:51:51Z","updated_at":"2016-01-07T05:51:51Z","body":"Ok, I have fixed this issue by putting react-addons in externals of webpack config. \r\nBefore the fix it was like this \r\n```Javascript\r\n externals: {\r\n   '/$^/': 'commonjs',\r\n   'react': 'var window.React',\r\n   'react-router': 'var window.ReactRouter'\r\n}\r\n```\r\nAfter the fix, it is like this\r\n```Javascript\r\nexternals: {\r\n     '/$^/': 'commonjs',\r\n     'react': 'var window.React',\r\n     'react-router': 'var window.ReactRouter',\r\n     'react/addons': 'var window.React',\r\n     'react/addons/lib': 'react/../lib'\r\n    }\r\n```"}}