Setstate menggabungkan array dalam komponen fungsional
const [user, setUser] = useState([]);
setUser([...user, [1,2,3]]) //another array
Lonely Lyrebird
const [user, setUser] = useState([]);
setUser([...user, [1,2,3]]) //another array