{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/975","labels_url":"https://api.github.com/repos/rackt/react-router/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/975/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/975/events","html_url":"https://github.com/rackt/react-router/issues/975","id":63366694,"number":975,"title":"this.context.router is undefined","user":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":51,"created_at":"2015-03-21T06:00:55Z","updated_at":"2015-03-28T18:34:48Z","closed_at":"2015-03-25T14:54:09Z","body":"I just upgraded to react-router (and react) 0.13, and got rid of all the deprecated State mixins. Using `this.context.router` doesn't seem to work. I just see this everywhere:\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'getParams' of undefined\r\n```\r\nIs there anything additional I need to do?\r\n\r\n---\r\nEdit by Ryan Florence to get people to the answer right here at the top of the issue :dancer: \r\n\r\nCheck out the upgrade guide: https://github.com/rackt/react-router/blob/master/UPGRADE_GUIDE.md#012x---013x\r\n\r\nSorry it wasn't done w/ the release, it's been an abnormally busy month for us since we quit our jobs and started a new business :P"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/87281161","html_url":"https://github.com/rackt/react-router/issues/975#issuecomment-87281161","issue_url":"https://api.github.com/repos/rackt/react-router/issues/975","id":87281161,"user":{"login":"jkaan","id":3824068,"avatar_url":"https://avatars.githubusercontent.com/u/3824068?v=3","gravatar_id":"","url":"https://api.github.com/users/jkaan","html_url":"https://github.com/jkaan","followers_url":"https://api.github.com/users/jkaan/followers","following_url":"https://api.github.com/users/jkaan/following{/other_user}","gists_url":"https://api.github.com/users/jkaan/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaan/subscriptions","organizations_url":"https://api.github.com/users/jkaan/orgs","repos_url":"https://api.github.com/users/jkaan/repos","events_url":"https://api.github.com/users/jkaan/events{/privacy}","received_events_url":"https://api.github.com/users/jkaan/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T18:34:48Z","updated_at":"2015-03-28T18:34:48Z","body":"I'm using this plugin: https://github.com/zilverline/react-tap-event-plugin and the context is undefined inside of the function I pass to the onTouchTap attribute. I can use it everywhere else though."}}