Update to new renderComponentToString API