debugging facebook react console errors by rendering components on the page