make a useState set rerender code example Example: useState doesnt rerender component setNumbers([...old])