Gather data in react views