{"action":"opened","issue":{"url":"https://api.github.com/repos/ReactTraining/history/issues/343","repository_url":"https://api.github.com/repos/ReactTraining/history","labels_url":"https://api.github.com/repos/ReactTraining/history/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/history/issues/343/comments","events_url":"https://api.github.com/repos/ReactTraining/history/issues/343/events","html_url":"https://github.com/ReactTraining/history/issues/343","id":169237700,"number":343,"title":"Duplicate Basename","user":{"login":"gf3","id":18397,"avatar_url":"https://avatars.githubusercontent.com/u/18397?v=3","gravatar_id":"","url":"https://api.github.com/users/gf3","html_url":"https://github.com/gf3","followers_url":"https://api.github.com/users/gf3/followers","following_url":"https://api.github.com/users/gf3/following{/other_user}","gists_url":"https://api.github.com/users/gf3/gists{/gist_id}","starred_url":"https://api.github.com/users/gf3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gf3/subscriptions","organizations_url":"https://api.github.com/users/gf3/orgs","repos_url":"https://api.github.com/users/gf3/repos","events_url":"https://api.github.com/users/gf3/events{/privacy}","received_events_url":"https://api.github.com/users/gf3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T21:23:58Z","updated_at":"2016-08-03T21:23:58Z","closed_at":null,"body":"I've configured history to have a base of `/embed2` like so:\r\n\r\n``` js\r\nconst history = useRouterHistory(useBasename(createHistory))({\r\n  basename: '/embed2'\r\n});\r\n```\r\n\r\nHowever, when attempting to push state on the history, `useBasename` is duplicating the base which prevents my routes from matching. You'll notice this behaviour in the screenshot below:\r\n\r\n![screen shot 2016-08-03 at 5 20 35 pm](https://cloud.githubusercontent.com/assets/18397/17382447/dd88328c-599e-11e6-9c4f-d9cbcfcac892.png)\r\n\r\n* history `2.1.2`\r\n* react-router `2.6.1`"}}
{"actor":{"display_login":"gf3"}}