https://codesandbox.io/p/sandbox/changing-complex-state-practice-completed-ckyjjg