You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a weird bug to describe, but if you modify an arrow function and then change it back to it's original, the second update won't work. I can try to put up a full working repo if it's not clear from my example.
Changing the text "Hello world" to "Hello RHL" will change the text in the browser to "Hello RHL". Then changing the text back to "Hello world" will change the text in the browser to "Hello world".
Actual behavior
Changing the text "Hello world" to "Hello RHL" changes the text in the browser to "Hello RHL". Then changing the text back to "Hello world" causes no change in the browser, even though the console indicates that the correct modules were updated.
This isn't just a problem with multiple updates. If you change the text to something new twice, and then back to "Hello world", the first two updates will work, but not the final one.
Environment
React Hot Loader version: 4.0.0-beta.18
Run these commands in the project folder and fill in their results:
node -v: v8.4.0
npm -v: 5.6.0
Then, specify:
Operating system: OSX Sierra
Browser and version: 63.0.3239.132
The text was updated successfully, but these errors were encountered:
Description
This is a weird bug to describe, but if you modify an arrow function and then change it back to it's original, the second update won't work. I can try to put up a full working repo if it's not clear from my example.
Example
Hello.js:
Expected behavior
Changing the text "Hello world" to "Hello RHL" will change the text in the browser to "Hello RHL". Then changing the text back to "Hello world" will change the text in the browser to "Hello world".
Actual behavior
Changing the text "Hello world" to "Hello RHL" changes the text in the browser to "Hello RHL". Then changing the text back to "Hello world" causes no change in the browser, even though the console indicates that the correct modules were updated.
This isn't just a problem with multiple updates. If you change the text to something new twice, and then back to "Hello world", the first two updates will work, but not the final one.
Environment
React Hot Loader version: 4.0.0-beta.18
Run these commands in the project folder and fill in their results:
node -v
: v8.4.0npm -v
: 5.6.0Then, specify:
The text was updated successfully, but these errors were encountered: