{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-router/issues/2182","repository_url":"https://api.github.com/repos/reactjs/react-router","labels_url":"https://api.github.com/repos/reactjs/react-router/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router/issues/2182/comments","events_url":"https://api.github.com/repos/reactjs/react-router/issues/2182/events","html_url":"https://github.com/reactjs/react-router/issues/2182","id":110202052,"number":2182,"title":"Hot swapping routes","user":{"login":"laurentvd","id":408083,"avatar_url":"https://avatars.githubusercontent.com/u/408083?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentvd","html_url":"https://github.com/laurentvd","followers_url":"https://api.github.com/users/laurentvd/followers","following_url":"https://api.github.com/users/laurentvd/following{/other_user}","gists_url":"https://api.github.com/users/laurentvd/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentvd/subscriptions","organizations_url":"https://api.github.com/users/laurentvd/orgs","repos_url":"https://api.github.com/users/laurentvd/repos","events_url":"https://api.github.com/users/laurentvd/events{/privacy}","received_events_url":"https://api.github.com/users/laurentvd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactjs/react-router/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/reactjs/react-router/labels/the%20future","name":"the future","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/reactjs/react-router/milestones/15","html_url":"https://github.com/reactjs/react-router/milestones/next-sometime","labels_url":"https://api.github.com/repos/reactjs/react-router/milestones/15/labels","id":1711626,"number":15,"title":"next-sometime","description":"","creator":{"login":"ryanflorence","id":100200,"avatar_url":"https://avatars.githubusercontent.com/u/100200?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflorence","html_url":"https://github.com/ryanflorence","followers_url":"https://api.github.com/users/ryanflorence/followers","following_url":"https://api.github.com/users/ryanflorence/following{/other_user}","gists_url":"https://api.github.com/users/ryanflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflorence/subscriptions","organizations_url":"https://api.github.com/users/ryanflorence/orgs","repos_url":"https://api.github.com/users/ryanflorence/repos","events_url":"https://api.github.com/users/ryanflorence/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflorence/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-04-16T19:51:06Z","updated_at":"2016-04-16T19:58:37Z","due_on":null,"closed_at":null},"comments":43,"created_at":"2015-10-07T11:11:24Z","updated_at":"2016-05-02T12:15:22Z","closed_at":null,"body":"Love your work on react-router! I'm implementing i18n routes using `1.0.0-rc1` and I'm running into the following. The relevant code:\r\n\r\n\trender() {\r\n\t\tconst childRoutes = this.props.generateRoutes();\r\n\r\n\t\treturn (<Router ref=\"router\" routes={ childRoutes } history={ this.props.history }/>);\r\n\t}\r\n\r\nThe child routes are not updated, even though I'm positive the childRoutes object has changed. When I navigate to a new url, it doesn't match any routes. Is hot-swapping routes a scenario the router should support?"},"comment":{"url":"https://api.github.com/repos/reactjs/react-router/issues/comments/216220598","html_url":"https://github.com/reactjs/react-router/issues/2182#issuecomment-216220598","issue_url":"https://api.github.com/repos/reactjs/react-router/issues/2182","id":216220598,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T12:15:22Z","updated_at":"2016-05-02T12:15:22Z","body":"FYI, `react-hot-loader@3.0.0-beta.1` “just works” with RR again because we changed proxies to be updated during module definition rather than in `createElement`. So this issue is not as important for us (aside from the annoying warning)."}}