Render your React app on server side, and automatically reconnect upon rendering