render view in browser with react