Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMR not reflecting the changes made in reducers #11794

Closed
sabbiu opened this issue Apr 9, 2020 · 2 comments
Closed

HMR not reflecting the changes made in reducers #11794

sabbiu opened this issue Apr 9, 2020 · 2 comments
Labels
good first issue Easy to fix issues, good for newcomers

Comments

@sabbiu
Copy link

sabbiu commented Apr 9, 2020

Bug report

Describe the bug

Making changes to reducers doesn't get replaced as promised by Hot Module Replacement. Only after refreshing the browser, the changes are seen.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Clone with-redux-thunk
  2. Run nest or npm run dev
  3. Make changes to reducers (while the project is still running)
  4. Changes are seen only after the page is refreshed

Expected behavior

  • When any changes are made to reducers, it must be reflected in the browser.
  • For the time being, is there a way to cancel HMR, so that the browser refreshes on every change.

Screenshots

Showing the bug --GIF Demo
GIF: Demo

System information

  • OS: Tested only in Linux Mint
  • Browser (if applies) Tested only in chrome
  • Version of Next.js: 9.3.4

Additional context

Similar Issue: #2902

@lfades
Copy link
Member

lfades commented Apr 14, 2020

Fixed by #11816 - If the issue persists, comment it here and I'll re open the issue.

Thank you for the report 😌

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Easy to fix issues, good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants