{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/867","labels_url":"https://api.github.com/repos/rackt/react-router/issues/867/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/867/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/867/events","html_url":"https://github.com/rackt/react-router/issues/867","id":58739971,"number":867,"title":"Wrapper routes doesn't work anymore","user":{"login":"tarjei","id":211263,"avatar_url":"https://avatars.githubusercontent.com/u/211263?v=3","gravatar_id":"","url":"https://api.github.com/users/tarjei","html_url":"https://github.com/tarjei","followers_url":"https://api.github.com/users/tarjei/followers","following_url":"https://api.github.com/users/tarjei/following{/other_user}","gists_url":"https://api.github.com/users/tarjei/gists{/gist_id}","starred_url":"https://api.github.com/users/tarjei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarjei/subscriptions","organizations_url":"https://api.github.com/users/tarjei/orgs","repos_url":"https://api.github.com/users/tarjei/repos","events_url":"https://api.github.com/users/tarjei/events{/privacy}","received_events_url":"https://api.github.com/users/tarjei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-02-24T13:46:15Z","updated_at":"2015-02-25T14:30:16Z","closed_at":"2015-02-25T14:07:23Z","body":"Hi\r\n\r\nI like to use a wrapper around my components to separate state and rendering. Often it looks like this:\r\n\r\n```jsx\r\n\r\n            <Route name=\"inbox\" path=\"/inbox\" handler={InboxPage}>\r\n                <Route name=\"inbox-first-message\" path=\"\" handler={InboxEntry} />\r\n                <Route name=\"inbox-new\" path=\"/inbox/new\" handler={NewMessage} />\r\n            </Route>\r\n```\r\n\r\nNow, after upgrading from 0.12.0 to 0.12.2 this seems not to work anymore. It seems that the components inside the wrapper components are not executed anymore. Is there a way around this problem?\r\n\r\nIn the code above, if I navigate to /inbox, RR wil not render the inbox-first-message component anymore."},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/75968664","html_url":"https://github.com/rackt/react-router/issues/867#issuecomment-75968664","issue_url":"https://api.github.com/repos/rackt/react-router/issues/867","id":75968664,"user":{"login":"mjackson","id":92839,"avatar_url":"https://avatars.githubusercontent.com/u/92839?v=3","gravatar_id":"","url":"https://api.github.com/users/mjackson","html_url":"https://github.com/mjackson","followers_url":"https://api.github.com/users/mjackson/followers","following_url":"https://api.github.com/users/mjackson/following{/other_user}","gists_url":"https://api.github.com/users/mjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjackson/subscriptions","organizations_url":"https://api.github.com/users/mjackson/orgs","repos_url":"https://api.github.com/users/mjackson/repos","events_url":"https://api.github.com/users/mjackson/events{/privacy}","received_events_url":"https://api.github.com/users/mjackson/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T14:30:16Z","updated_at":"2015-02-25T14:30:16Z","body":"@tarjei What I mean is that if you have a `<DefaultRoute>` and you feel like it needs children, you should probably just make it a regular `<Route>`, e.g.\r\n\r\n```xml\r\n<Route handler={App}>\r\n  <DefaultRoute handler={Dashboard}/>\r\n</Route>\r\n```\r\n\r\nbecomes\r\n\r\n```\r\n<Route handler={App}>\r\n  <Route handler={Dashboard}>\r\n    <DefaultRoute handler={Inbox}/>\r\n    <Route name=\"feed\" handler={NewsFeed}/>\r\n  </Route>\r\n</Route>\r\n```"}}