yarn && yarn dev
- Change this line and save: https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/src/statefulSingleton.js#L3
- Then change this line and save: https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/src/useStatefulSingleton.js#L4