What is the best way to add a value to an array in state January 16, 2023 by Tarik For now, this is the best way. this.setState(previousState => ({ myArray: [...previousState.myArray, 'new value'] }));