Ajouter un nouvel élément UseState Array

setMyArray(oldArray => [...oldArray, newElement]);
Inexpensive Impala