зачем применять slice без аргументов?
handleClick(i) {
const squares = this.state.squares.slice();
squares[i] = 'X';
this.setState({squares: squares});
}
Видимо, в squares не массив
Danila
Vadim
Pavel
Evgeny
udemu988
Альберт
Sheldhur
Cenator 🐈
Konstantin
arts
Mikhail
Bogdan
Dmitry
Андрей
Yury
Ivan