You may have encountered the error "Cannot read property 'setstate' of undefined" while working with react when dealing with context. Wrong understanding of context especially in javascript classes will result in the error above especially when deal...