SetState Merge Arrays dans les composants fonctionnels
const [user, setUser] = useState([]);
setUser([...user, [1,2,3]]) //another array
Lonely Lyrebird
const [user, setUser] = useState([]);
setUser([...user, [1,2,3]]) //another array