Using the server rendering examples for react-dom
causes syntax errors related to JSX:
renderToString(<RouterContext {...renderProps} />;
^
SyntaxError: Unexpected token <
I am trying to use this in my Koa application but can't figure how to get Node to support it. Do the examples around the web assume that the code is processed with Babel?