I would expect the app state to be preserved when hot reloading occurs, but this doesn't seem to be the case – the state always resets to the initial state.
Simple reproduction test case: https://github.com/tomduncalf/create-react-app-state-hmr-bug