{"action":"created","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/127","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/127/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/127/events","html_url":"https://github.com/JedWatson/react-select/issues/127","id":68357896,"number":127,"title":"Error running basic readme example","user":{"login":"super-cache-money","id":1463145,"avatar_url":"https://avatars.githubusercontent.com/u/1463145?v=3","gravatar_id":"","url":"https://api.github.com/users/super-cache-money","html_url":"https://github.com/super-cache-money","followers_url":"https://api.github.com/users/super-cache-money/followers","following_url":"https://api.github.com/users/super-cache-money/following{/other_user}","gists_url":"https://api.github.com/users/super-cache-money/gists{/gist_id}","starred_url":"https://api.github.com/users/super-cache-money/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super-cache-money/subscriptions","organizations_url":"https://api.github.com/users/super-cache-money/orgs","repos_url":"https://api.github.com/users/super-cache-money/repos","events_url":"https://api.github.com/users/super-cache-money/events{/privacy}","received_events_url":"https://api.github.com/users/super-cache-money/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JedWatson/react-select/labels/bug%09(unconfirmed)","name":"bug\t(unconfirmed)","color":"f09999"}],"state":"open","locked":false,"assignee":{"login":"JedWatson","id":872310,"avatar_url":"https://avatars.githubusercontent.com/u/872310?v=3","gravatar_id":"","url":"https://api.github.com/users/JedWatson","html_url":"https://github.com/JedWatson","followers_url":"https://api.github.com/users/JedWatson/followers","following_url":"https://api.github.com/users/JedWatson/following{/other_user}","gists_url":"https://api.github.com/users/JedWatson/gists{/gist_id}","starred_url":"https://api.github.com/users/JedWatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedWatson/subscriptions","organizations_url":"https://api.github.com/users/JedWatson/orgs","repos_url":"https://api.github.com/users/JedWatson/repos","events_url":"https://api.github.com/users/JedWatson/events{/privacy}","received_events_url":"https://api.github.com/users/JedWatson/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-04-14T12:33:08Z","updated_at":"2015-07-07T09:14:28Z","closed_at":null,"body":"I'm using react 13.1, and trying to render the example in the readme:\r\n\r\n    React.createClass({\r\n        render: function(){\r\n            var options = [\r\n                { value: 'one', label: 'One' },\r\n                { value: 'two', label: 'Two' }\r\n            ];\r\n    \r\n            function logChange(val) {\r\n                alert(\"Selected: \" + val);\r\n            }\r\n    \r\n            return <Select\r\n                name=\"form-field-name\"\r\n                value=\"one\"\r\n                options={options}\r\n                onChange={logChange}\r\n            />\r\n        }\r\n    })\r\n\r\nI get this error in the browser:\r\n\r\n    Uncaught TypeError: Cannot read property '_currentElement' of null \r\n\r\nIt's thrown from line 7351 in react-with-addons.js:\r\n\r\n    var prevRenderedElement = prevComponentInstance._currentElement;\r\n\r\nI've loaded lodash and react of course."},"comment":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/comments/119133821","html_url":"https://github.com/JedWatson/react-select/issues/127#issuecomment-119133821","issue_url":"https://api.github.com/repos/JedWatson/react-select/issues/127","id":119133821,"user":{"login":"osiro","id":97817,"avatar_url":"https://avatars.githubusercontent.com/u/97817?v=3","gravatar_id":"","url":"https://api.github.com/users/osiro","html_url":"https://github.com/osiro","followers_url":"https://api.github.com/users/osiro/followers","following_url":"https://api.github.com/users/osiro/following{/other_user}","gists_url":"https://api.github.com/users/osiro/gists{/gist_id}","starred_url":"https://api.github.com/users/osiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiro/subscriptions","organizations_url":"https://api.github.com/users/osiro/orgs","repos_url":"https://api.github.com/users/osiro/repos","events_url":"https://api.github.com/users/osiro/events{/privacy}","received_events_url":"https://api.github.com/users/osiro/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T09:14:28Z","updated_at":"2015-07-07T09:14:28Z","body":"Have you guys got this sorted out by removing `react-select` and `react` and reinstalling them as described by @RusAlex ?\r\n\r\nI'm trying to investigate what's going on, but that workaround doesn't seem to work for me.\r\n\r\nI'm running the latest versions of everything:\r\n\r\nreact: 0.13.3\r\nreact-select: 0.5.4"}}