{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/806","labels_url":"https://api.github.com/repos/rackt/react-router/issues/806/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/806/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/806/events","html_url":"https://github.com/rackt/react-router/issues/806","id":57137949,"number":806,"title":"Wanted to share react-router-proxy-loader with you","user":{"login":"seanadkinson","id":1429507,"avatar_url":"https://avatars.githubusercontent.com/u/1429507?v=3","gravatar_id":"","url":"https://api.github.com/users/seanadkinson","html_url":"https://github.com/seanadkinson","followers_url":"https://api.github.com/users/seanadkinson/followers","following_url":"https://api.github.com/users/seanadkinson/following{/other_user}","gists_url":"https://api.github.com/users/seanadkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/seanadkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanadkinson/subscriptions","organizations_url":"https://api.github.com/users/seanadkinson/orgs","repos_url":"https://api.github.com/users/seanadkinson/repos","events_url":"https://api.github.com/users/seanadkinson/events{/privacy}","received_events_url":"https://api.github.com/users/seanadkinson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-10T06:51:58Z","updated_at":"2015-03-04T13:08:52Z","closed_at":"2015-03-04T13:08:52Z","body":"Wasn't sure the best place to put this, but I just published this loader I've been using for awhile on my own projects, and it might be something you guys would like to know about, or perhaps put in the docs.\r\n\r\nCalled it `react-router-proxy-loader`, based entirely off `react-proxy-loader`, but adapted for `react-router`.  Here is the link: https://github.com/odysseyscience/react-router-proxy-loader\r\n\r\nMakes it so you can dynamically load routes only when they are about to be rendered, utilizing `willTransitionTo` and `require.ensure` to resolve the bundle.  Usage like this:\r\n\r\n```js\r\n<Route name=\"user\" handler={require('react-router-proxy!./User.jsx')} />\r\n```"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/77154380","html_url":"https://github.com/rackt/react-router/issues/806#issuecomment-77154380","issue_url":"https://api.github.com/repos/rackt/react-router/issues/806","id":77154380,"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":"2015-03-04T13:08:52Z","updated_at":"2015-03-04T13:08:52Z","body":"Done via 1a3d702dbdf4b95a7750ba606fdc676286f3d471.\r\nThanks!"}}