-
Notifications
You must be signed in to change notification settings - Fork 406
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
fix(hmr-plugin): correct persistence state in runtime #1048
Conversation
@markwhitfeld please take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which test does this PR fix?
I don't like the HMR stuff in the store internals and I think I can make some small modifications that would fix this but I need to know which test this work aims to fix.
I understand, but the correct work of the HMR
|
Ok. That helps me understand your reasoning. I think that I can clean this up so that we don't need to have HMR in the internals. Let me try. I'll commit to this branch |
@markwhitfeld Thank you! |
@markwhitfeld we need remove |
@splincode I agree. We need to add the removal of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with this now.
@arturovt could you review?
@splincode could you test to make sure that the issue is fixed?
One step forward two steps back! The nuances of hmr are killing me. |
@markwhitfeld LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with this.
@arturovt could you review and approve for merging in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@markwhitfeld @arturovt I will see later does it correct work |
@splincode great, then you are welcome to merge if it does. |
@markwhitfeld everything works perfect |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
#917
What is the new behavior?
Current HMR-plugin worked incorrectly, now this saving works through a global object and and is used before other plugins are initialized and states bootstraped.
Correct Life-cycle events triggered in root state and others
Does this PR introduce a breaking change?