{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1806","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1806/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1806/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1806/events","html_url":"https://github.com/rackt/react-router/issues/1806","id":104545152,"number":1806,"title":"1.0.0-beta4 ServerSide rendering problem: Router.run is undefined. ","user":{"login":"aulizko","id":4025,"avatar_url":"https://avatars.githubusercontent.com/u/4025?v=3","gravatar_id":"","url":"https://api.github.com/users/aulizko","html_url":"https://github.com/aulizko","followers_url":"https://api.github.com/users/aulizko/followers","following_url":"https://api.github.com/users/aulizko/following{/other_user}","gists_url":"https://api.github.com/users/aulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/aulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aulizko/subscriptions","organizations_url":"https://api.github.com/users/aulizko/orgs","repos_url":"https://api.github.com/users/aulizko/repos","events_url":"https://api.github.com/users/aulizko/events{/privacy}","received_events_url":"https://api.github.com/users/aulizko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-02T18:35:16Z","updated_at":"2015-09-05T04:46:48Z","closed_at":null,"body":"So what is the **right** way to use react-router for the SSR now? \r\n[This](https://github.com/rackt/react-router/blob/master/modules/__tests__/serverRendering-test.js) example seems a bit weird for me ;)"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/137910579","html_url":"https://github.com/rackt/react-router/issues/1806#issuecomment-137910579","issue_url":"https://api.github.com/repos/rackt/react-router/issues/1806","id":137910579,"user":{"login":"shovon","id":284576,"avatar_url":"https://avatars.githubusercontent.com/u/284576?v=3","gravatar_id":"","url":"https://api.github.com/users/shovon","html_url":"https://github.com/shovon","followers_url":"https://api.github.com/users/shovon/followers","following_url":"https://api.github.com/users/shovon/following{/other_user}","gists_url":"https://api.github.com/users/shovon/gists{/gist_id}","starred_url":"https://api.github.com/users/shovon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shovon/subscriptions","organizations_url":"https://api.github.com/users/shovon/orgs","repos_url":"https://api.github.com/users/shovon/repos","events_url":"https://api.github.com/users/shovon/events{/privacy}","received_events_url":"https://api.github.com/users/shovon/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T04:46:48Z","updated_at":"2015-09-05T04:46:48Z","body":"Does it actually work? I'm getting a `ReferenceError: document is not defined`, when attempting this:\r\n\r\n```javascript\r\nconst location = createLocation('/something');\r\nconst history = createHistory({ entries: [location] });\r\n\r\nconsole.log(ReactDOM.renderToString(\r\n  <div>\r\n    <Router history={history} children={routes} />\r\n  </div>\r\n));\r\n```"}}