https://codesandbox.io/p/sandbox/changing-complex-state-f4pyw8