in 0.9 renderComponentToString returns the value

I could go a step further and make it compatible with both, if you like.