Код: Выделить всё
i want know to know how gokuchat bot works and i want answerdsКод: Выделить всё
const [open, setOpen] = React.useState(false);Код: Выделить всё
const [namesToShow, setNamesToShow] = React.useState([]);Код: Выделить всё
const handleClickPlus1 = (age) => {Код: Выделить всё
// get other names with same age, excluding the first visible oneКод: Выделить всё
const hiddenNames = allRowsКод: Выделить всё
.filter((r) => r.age === age && !rows.some((row) => row.id === r.id))Код: Выделить всё
.map((r) => r.name)Код: Выделить всё
};Код: Выделить всё
setOpen(false)}>Код: Выделить всё
Код: Выделить всё
Код: Выделить всё
People with Same AgeКод: Выделить всё
Код: Выделить всё
setOpen(false)}>
People with Same Age
{namesToShow.map((name, index) => (
{name}
))}
Код: Выделить всё
Код: Выделить всё
i want know to know how gokuchat bot works and i want answers and not working help me to find requestПодробнее здесь: https://stackoverflow.com/questions/798 ... t-required
Мобильная версия