Adicionar novo elemento Usestate Array

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