{"action":"created","issue":{"url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/4","repository_url":"https://api.github.com/repos/alisd23/mobx-react-router","labels_url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/4/comments","events_url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/4/events","html_url":"https://github.com/alisd23/mobx-react-router/issues/4","id":191689847,"number":4,"title":"get error history.getCurrentLocation is not a function()","user":{"login":"optimatex","id":8351201,"avatar_url":"https://avatars.githubusercontent.com/u/8351201?v=3","gravatar_id":"","url":"https://api.github.com/users/optimatex","html_url":"https://github.com/optimatex","followers_url":"https://api.github.com/users/optimatex/followers","following_url":"https://api.github.com/users/optimatex/following{/other_user}","gists_url":"https://api.github.com/users/optimatex/gists{/gist_id}","starred_url":"https://api.github.com/users/optimatex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optimatex/subscriptions","organizations_url":"https://api.github.com/users/optimatex/orgs","repos_url":"https://api.github.com/users/optimatex/repos","events_url":"https://api.github.com/users/optimatex/events{/privacy}","received_events_url":"https://api.github.com/users/optimatex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-25T12:15:05Z","updated_at":"2016-11-25T13:05:09Z","closed_at":null,"body":"Hi. Thanks for ur package. I get this error and don't know how to handle it \r\n`TypeError: history.getCurrentLocation is not a function(…)`\r\nany ideas?"},"comment":{"url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/comments/262953909","html_url":"https://github.com/alisd23/mobx-react-router/issues/4#issuecomment-262953909","issue_url":"https://api.github.com/repos/alisd23/mobx-react-router/issues/4","id":262953909,"user":{"login":"optimatex","id":8351201,"avatar_url":"https://avatars.githubusercontent.com/u/8351201?v=3","gravatar_id":"","url":"https://api.github.com/users/optimatex","html_url":"https://github.com/optimatex","followers_url":"https://api.github.com/users/optimatex/followers","following_url":"https://api.github.com/users/optimatex/following{/other_user}","gists_url":"https://api.github.com/users/optimatex/gists{/gist_id}","starred_url":"https://api.github.com/users/optimatex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optimatex/subscriptions","organizations_url":"https://api.github.com/users/optimatex/orgs","repos_url":"https://api.github.com/users/optimatex/repos","events_url":"https://api.github.com/users/optimatex/events{/privacy}","received_events_url":"https://api.github.com/users/optimatex/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T13:05:09Z","updated_at":"2016-11-25T13:05:09Z","body":"i was trying to change ` history.getCurrentLocation`  to `history.location()` in `mobx-react-router.js:268 ` but got similar error `TypeError: history.location is not a function(…)`\r\nmaybe my react-router package is not 3.0.0. `npm list` shows that i have `+-- UNMET PEER DEPENDENCY react-router@2.8.1` cuz in my package.json there is \"mobx-react-router\": \"^3.0.0\", and i put `npm update react-router@3.0.0`"}}
{"actor":{"display_login":"optimatex"}}