{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-modal/issues/49","labels_url":"https://api.github.com/repos/rackt/react-modal/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-modal/issues/49/comments","events_url":"https://api.github.com/repos/rackt/react-modal/issues/49/events","html_url":"https://github.com/rackt/react-modal/issues/49","id":90919540,"number":49,"title":"What if I render DOM using server side react?","user":{"login":"yhjor1212","id":5599572,"avatar_url":"https://avatars.githubusercontent.com/u/5599572?v=3","gravatar_id":"","url":"https://api.github.com/users/yhjor1212","html_url":"https://github.com/yhjor1212","followers_url":"https://api.github.com/users/yhjor1212/followers","following_url":"https://api.github.com/users/yhjor1212/following{/other_user}","gists_url":"https://api.github.com/users/yhjor1212/gists{/gist_id}","starred_url":"https://api.github.com/users/yhjor1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhjor1212/subscriptions","organizations_url":"https://api.github.com/users/yhjor1212/orgs","repos_url":"https://api.github.com/users/yhjor1212/repos","events_url":"https://api.github.com/users/yhjor1212/events{/privacy}","received_events_url":"https://api.github.com/users/yhjor1212/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-25T10:15:29Z","updated_at":"2015-09-24T16:50:31Z","closed_at":null,"body":"// And when using document to get the dom element, server side won't support \"document\" object for the following code:\r\nModal.setAppElement(el);\r\nModal.injectCSS();\r\n\r\n// I have also tried the following but It will prompt me about I need to insert element in that area\r\nlet el = React.findDOMNode(this.refs.cdrExportModal)\r\nconsole.info('el', el)\r\nModal.setAppElement(el);\r\nModal.injectCSS();\r\n\r\nPlease help!"},"comment":{"url":"https://api.github.com/repos/rackt/react-modal/issues/comments/142985684","html_url":"https://github.com/rackt/react-modal/issues/49#issuecomment-142985684","issue_url":"https://api.github.com/repos/rackt/react-modal/issues/49","id":142985684,"user":{"login":"nhatquang238","id":2491051,"avatar_url":"https://avatars.githubusercontent.com/u/2491051?v=3","gravatar_id":"","url":"https://api.github.com/users/nhatquang238","html_url":"https://github.com/nhatquang238","followers_url":"https://api.github.com/users/nhatquang238/followers","following_url":"https://api.github.com/users/nhatquang238/following{/other_user}","gists_url":"https://api.github.com/users/nhatquang238/gists{/gist_id}","starred_url":"https://api.github.com/users/nhatquang238/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhatquang238/subscriptions","organizations_url":"https://api.github.com/users/nhatquang238/orgs","repos_url":"https://api.github.com/users/nhatquang238/repos","events_url":"https://api.github.com/users/nhatquang238/events{/privacy}","received_events_url":"https://api.github.com/users/nhatquang238/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T16:50:31Z","updated_at":"2015-09-24T16:50:31Z","body":"+1 for the same error on server side rendering. Would really love a fix for this."}}