render react component on server and inject into response