{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1003","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1003/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1003/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1003/events","html_url":"https://github.com/rackt/react-router/issues/1003","id":64105210,"number":1003,"title":"Invariant Violation from the depths of transition.","user":{"login":"flq","id":123748,"avatar_url":"https://avatars.githubusercontent.com/u/123748?v=3","gravatar_id":"","url":"https://api.github.com/users/flq","html_url":"https://github.com/flq","followers_url":"https://api.github.com/users/flq/followers","following_url":"https://api.github.com/users/flq/following{/other_user}","gists_url":"https://api.github.com/users/flq/gists{/gist_id}","starred_url":"https://api.github.com/users/flq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flq/subscriptions","organizations_url":"https://api.github.com/users/flq/orgs","repos_url":"https://api.github.com/users/flq/repos","events_url":"https://api.github.com/users/flq/events{/privacy}","received_events_url":"https://api.github.com/users/flq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T21:31:36Z","updated_at":"2015-03-25T13:44:35Z","closed_at":null,"body":"```\r\nUncaught Error: Invariant Violation: addComponentAsRefTo(...): \r\nOnly a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). \r\nTry rendering this component inside of a new top-level component which will hold the ref.\r\n```\r\n\r\nHere`s the stack trace:\r\n![capture](https://cloud.githubusercontent.com/assets/123748/6813333/e548a702-d274-11e4-95a5-2c5fda0afe7a.PNG)\r\n\r\nI have been following the animation example with the difference that I have a single route inside the root route (!) defined as DefaultRoute.\r\n\r\n```\r\nvar routes = (\r\n  <Route path=\"/\" handler={App}>\r\n    <DefaultRoute handler={Areas} />\r\n  </Route>\r\n);\r\n\r\nRouter.run(routes, function (Handler) {\r\n  React.render(<Handler hub={Hub} />, document.getElementById('app'));\r\n});\r\n```\r\n__However__, things seem to be working normally. Is this kind of invariant violation to be expected, or can it be rectified somehow?"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/86031527","html_url":"https://github.com/rackt/react-router/issues/1003#issuecomment-86031527","issue_url":"https://api.github.com/repos/rackt/react-router/issues/1003","id":86031527,"user":{"login":"ryanflorence","id":100200,"avatar_url":"https://avatars.githubusercontent.com/u/100200?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflorence","html_url":"https://github.com/ryanflorence","followers_url":"https://api.github.com/users/ryanflorence/followers","following_url":"https://api.github.com/users/ryanflorence/following{/other_user}","gists_url":"https://api.github.com/users/ryanflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflorence/subscriptions","organizations_url":"https://api.github.com/users/ryanflorence/orgs","repos_url":"https://api.github.com/users/ryanflorence/repos","events_url":"https://api.github.com/users/ryanflorence/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflorence/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T13:44:35Z","updated_at":"2015-03-25T13:44:35Z","body":"which version of the router are you on?"}}