{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/history/issues/87","labels_url":"https://api.github.com/repos/rackt/history/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/rackt/history/issues/87/comments","events_url":"https://api.github.com/repos/rackt/history/issues/87/events","html_url":"https://github.com/rackt/history/pull/87","id":110412109,"number":87,"title":"Update Location.md","user":{"login":"asaf","id":14259,"avatar_url":"https://avatars.githubusercontent.com/u/14259?v=3","gravatar_id":"","url":"https://api.github.com/users/asaf","html_url":"https://github.com/asaf","followers_url":"https://api.github.com/users/asaf/followers","following_url":"https://api.github.com/users/asaf/following{/other_user}","gists_url":"https://api.github.com/users/asaf/gists{/gist_id}","starred_url":"https://api.github.com/users/asaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaf/subscriptions","organizations_url":"https://api.github.com/users/asaf/orgs","repos_url":"https://api.github.com/users/asaf/repos","events_url":"https://api.github.com/users/asaf/events{/privacy}","received_events_url":"https://api.github.com/users/asaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-08T09:55:40Z","updated_at":"2015-10-08T10:04:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackt/history/pulls/87","html_url":"https://github.com/rackt/history/pull/87","diff_url":"https://github.com/rackt/history/pull/87.diff","patch_url":"https://github.com/rackt/history/pull/87.patch"},"body":"Update programmatic instantiation creation.\r\n\r\nrelated to #85 #80 "},"comment":{"url":"https://api.github.com/repos/rackt/history/issues/comments/146480982","html_url":"https://github.com/rackt/history/pull/87#issuecomment-146480982","issue_url":"https://api.github.com/repos/rackt/history/issues/87","id":146480982,"user":{"login":"knowbody","id":3802023,"avatar_url":"https://avatars.githubusercontent.com/u/3802023?v=3","gravatar_id":"","url":"https://api.github.com/users/knowbody","html_url":"https://github.com/knowbody","followers_url":"https://api.github.com/users/knowbody/followers","following_url":"https://api.github.com/users/knowbody/following{/other_user}","gists_url":"https://api.github.com/users/knowbody/gists{/gist_id}","starred_url":"https://api.github.com/users/knowbody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knowbody/subscriptions","organizations_url":"https://api.github.com/users/knowbody/orgs","repos_url":"https://api.github.com/users/knowbody/repos","events_url":"https://api.github.com/users/knowbody/events{/privacy}","received_events_url":"https://api.github.com/users/knowbody/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T10:04:36Z","updated_at":"2015-10-08T10:04:36Z","body":"thanks, although with the ES6 syntax let's have it like:\r\n\r\n```js\r\nimport { createMemoryHistory } from 'history'\r\nlet location = createMemoryHistory().createLocation('/a/path?a=query', { the: 'state' })\r\n```"}}