I understand that React tutorials and documentation warn in no uncertain terms that state should not be directly mutated and that everything should go through setState
setState trigger re rendering of the components.when we want to update state again and again we must need to setState otherwise it doesn't work correctly.