{"action":"created","issue":{"url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/15","labels_url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/15/comments","events_url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/15/events","html_url":"https://github.com/larrymyers/react-mini-router/pull/15","id":53305540,"number":15,"title":"Add support for nested routes","user":{"login":"bndkn","id":1470,"avatar_url":"https://avatars.githubusercontent.com/u/1470?v=3","gravatar_id":"","url":"https://api.github.com/users/bndkn","html_url":"https://github.com/bndkn","followers_url":"https://api.github.com/users/bndkn/followers","following_url":"https://api.github.com/users/bndkn/following{/other_user}","gists_url":"https://api.github.com/users/bndkn/gists{/gist_id}","starred_url":"https://api.github.com/users/bndkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bndkn/subscriptions","organizations_url":"https://api.github.com/users/bndkn/orgs","repos_url":"https://api.github.com/users/bndkn/repos","events_url":"https://api.github.com/users/bndkn/events{/privacy}","received_events_url":"https://api.github.com/users/bndkn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"larrymyers","id":50755,"avatar_url":"https://avatars.githubusercontent.com/u/50755?v=3","gravatar_id":"","url":"https://api.github.com/users/larrymyers","html_url":"https://github.com/larrymyers","followers_url":"https://api.github.com/users/larrymyers/followers","following_url":"https://api.github.com/users/larrymyers/following{/other_user}","gists_url":"https://api.github.com/users/larrymyers/gists{/gist_id}","starred_url":"https://api.github.com/users/larrymyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larrymyers/subscriptions","organizations_url":"https://api.github.com/users/larrymyers/orgs","repos_url":"https://api.github.com/users/larrymyers/repos","events_url":"https://api.github.com/users/larrymyers/events{/privacy}","received_events_url":"https://api.github.com/users/larrymyers/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/larrymyers/react-mini-router/milestones/2","labels_url":"https://api.github.com/repos/larrymyers/react-mini-router/milestones/2/labels","id":920410,"number":2,"title":"v1.1","description":"Make 'path' state variable a documented part of the public facing API.","creator":{"login":"larrymyers","id":50755,"avatar_url":"https://avatars.githubusercontent.com/u/50755?v=3","gravatar_id":"","url":"https://api.github.com/users/larrymyers","html_url":"https://github.com/larrymyers","followers_url":"https://api.github.com/users/larrymyers/followers","following_url":"https://api.github.com/users/larrymyers/following{/other_user}","gists_url":"https://api.github.com/users/larrymyers/gists{/gist_id}","starred_url":"https://api.github.com/users/larrymyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larrymyers/subscriptions","organizations_url":"https://api.github.com/users/larrymyers/orgs","repos_url":"https://api.github.com/users/larrymyers/repos","events_url":"https://api.github.com/users/larrymyers/events{/privacy}","received_events_url":"https://api.github.com/users/larrymyers/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-01-03T14:18:21Z","updated_at":"2015-01-03T14:45:12Z","due_on":"2015-01-31T06:00:00Z","closed_at":null},"comments":2,"created_at":"2015-01-03T14:39:42Z","updated_at":"2015-01-03T14:49:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/larrymyers/react-mini-router/pulls/15","html_url":"https://github.com/larrymyers/react-mini-router/pull/15","diff_url":"https://github.com/larrymyers/react-mini-router/pull/15.diff","patch_url":"https://github.com/larrymyers/react-mini-router/pull/15.patch"},"body":"I really like the simplicity of this router. It's also the only one that works seamlessly with the prerendering in react-rails. However, in the application I'm working on the top-level component is starting to get pretty big and I really wanted to break it into smaller pieces.\r\n\r\nThese changes make it possible to nest routers similar to [contextual routers](http://strml.viewdocs.io/react-router-component/contextual) in react-router-component. It was surprisingly simple thanks to the already supported `root` prop. Essentially the router state is just mirrored onto the child context that the nested routers then use as their default state.\r\n\r\nI added one simple test case, but you just let me know if you want anything more specific."},"comment":{"url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/comments/68597099","html_url":"https://github.com/larrymyers/react-mini-router/pull/15#issuecomment-68597099","issue_url":"https://api.github.com/repos/larrymyers/react-mini-router/issues/15","id":68597099,"user":{"login":"larrymyers","id":50755,"avatar_url":"https://avatars.githubusercontent.com/u/50755?v=3","gravatar_id":"","url":"https://api.github.com/users/larrymyers","html_url":"https://github.com/larrymyers","followers_url":"https://api.github.com/users/larrymyers/followers","following_url":"https://api.github.com/users/larrymyers/following{/other_user}","gists_url":"https://api.github.com/users/larrymyers/gists{/gist_id}","starred_url":"https://api.github.com/users/larrymyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larrymyers/subscriptions","organizations_url":"https://api.github.com/users/larrymyers/orgs","repos_url":"https://api.github.com/users/larrymyers/repos","events_url":"https://api.github.com/users/larrymyers/events{/privacy}","received_events_url":"https://api.github.com/users/larrymyers/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T14:49:28Z","updated_at":"2015-01-03T14:49:28Z","body":"The failed tests on your pull request is odd, considering I'm not immediately sure what would be causing the breakage.\r\n\r\nI've got this lumped into the v1.1 milestone, so expect to see movement on this sometime this month."}}