Javascript – ReactJS strange state behaviour
I have two components: legacy parent class component, let's call it RowComponent, and child ModalComponent. State of those modal is located in parent component: this.state = { modalIsOpen: false, }; When I click on button it executes function which changes…