Here you go with the solution :
https://codesandbox.io/s/w695qx2q7w
addToStack = name => {
console.log("addToStack", name);
const { stack, options } = this.state;
const newstack = { value: name, label: name };
this.setState(
{ stack: [...stack, newstack], options: [...options, newstack] },
() => {
console.log("addToStack", this.state.stack);
console.log("options", this.state.options);
}
)};