avoid renderComponentToStaticMarkup