Filipp Riabchun
this.setState(prevState => ({ foreColor: prevState.foreColor === "blue" ? "red" : "blue" }))