{"action":"created","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/4134","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4134/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4134/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4134/events","html_url":"https://github.com/ReactTraining/react-router/issues/4134","id":186911884,"number":4134,"title":"Documentation for router and history Context usage.","user":{"login":"SimeonC","id":1085899,"avatar_url":"https://avatars.githubusercontent.com/u/1085899?v=3","gravatar_id":"","url":"https://api.github.com/users/SimeonC","html_url":"https://github.com/SimeonC","followers_url":"https://api.github.com/users/SimeonC/followers","following_url":"https://api.github.com/users/SimeonC/following{/other_user}","gists_url":"https://api.github.com/users/SimeonC/gists{/gist_id}","starred_url":"https://api.github.com/users/SimeonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimeonC/subscriptions","organizations_url":"https://api.github.com/users/SimeonC/orgs","repos_url":"https://api.github.com/users/SimeonC/repos","events_url":"https://api.github.com/users/SimeonC/events{/privacy}","received_events_url":"https://api.github.com/users/SimeonC/received_events","type":"User","site_admin":false},"labels":[{"id":223697261,"url":"https://api.github.com/repos/ReactTraining/react-router/labels/docs","name":"docs","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ReactTraining/react-router/milestones/18","html_url":"https://github.com/ReactTraining/react-router/milestones/v4.0.0","labels_url":"https://api.github.com/repos/ReactTraining/react-router/milestones/18/labels","id":1961834,"number":18,"title":"v4.0.0","description":"","creator":{"login":"timdorr","id":17882,"avatar_url":"https://avatars.githubusercontent.com/u/17882?v=3","gravatar_id":"","url":"https://api.github.com/users/timdorr","html_url":"https://github.com/timdorr","followers_url":"https://api.github.com/users/timdorr/followers","following_url":"https://api.github.com/users/timdorr/following{/other_user}","gists_url":"https://api.github.com/users/timdorr/gists{/gist_id}","starred_url":"https://api.github.com/users/timdorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdorr/subscriptions","organizations_url":"https://api.github.com/users/timdorr/orgs","repos_url":"https://api.github.com/users/timdorr/repos","events_url":"https://api.github.com/users/timdorr/events{/privacy}","received_events_url":"https://api.github.com/users/timdorr/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":52,"state":"open","created_at":"2016-08-24T22:46:03Z","updated_at":"2016-11-08T22:13:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-11-02T20:31:27Z","updated_at":"2016-11-16T22:40:12Z","closed_at":null,"body":"In v4 there are 1 - 2 contexts available under each Router. For all of the routers, we get the `this.context.router` option which exposes `transitionTo` `replaceWith` etc. For Hash, Memory and Browser we also have the `this.context.history` from the `History` component which is needed for `go(n)` `goBack()` and `goForward()` as I understand it.\r\n\r\nIt would be good to have these highlighted, probably as a Page on its own and/or a mention under each individual Router type."},"comment":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/comments/261095946","html_url":"https://github.com/ReactTraining/react-router/issues/4134#issuecomment-261095946","issue_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4134","id":261095946,"user":{"login":"SimeonC","id":1085899,"avatar_url":"https://avatars.githubusercontent.com/u/1085899?v=3","gravatar_id":"","url":"https://api.github.com/users/SimeonC","html_url":"https://github.com/SimeonC","followers_url":"https://api.github.com/users/SimeonC/followers","following_url":"https://api.github.com/users/SimeonC/following{/other_user}","gists_url":"https://api.github.com/users/SimeonC/gists{/gist_id}","starred_url":"https://api.github.com/users/SimeonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimeonC/subscriptions","organizations_url":"https://api.github.com/users/SimeonC/orgs","repos_url":"https://api.github.com/users/SimeonC/repos","events_url":"https://api.github.com/users/SimeonC/events{/privacy}","received_events_url":"https://api.github.com/users/SimeonC/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T22:40:12Z","updated_at":"2016-11-16T22:40:12Z","body":"Added some initial docs in the linked PR #4194. There were some things I'm not sure about like the preventTransitions function, but it might do for a first pass."}}
{"actor":{"display_login":"SimeonC"}}