Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From js/ReactDOMServer -> react-dom/server's renderToString
Use proper require of react-dom/server and invoke its renderToString, instead of accessing the global js/ReactDOMServer, which might not be available. I had troubles making sure that `js/ReactDOMServer` and thus couldn't render to a string. With this change, it works fine.
- Loading branch information