React - render component to string