Snapshot (state)
Also written: state is a snapshot
During one render, a state variable has a fixed value, like a photo. Calling the setter asks for a new render rather than changing the variable in the running code, so three `setBags(bags + 1)` calls all set the same value.