setstate not rerendering code example Example: useState doesnt rerender component setNumbers([...old])