using dev of ReactJS to get more error messages