Optional use of React.renderToString

Needed to keep React's data-* attributes to work with client-side render