搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

HMR of webpack does not work correctly on Firefox

  • 無回覆
  • 1 有這個問題
  • 5 次檢視
more options

When I do front-end development, the framework I used is antd pro(Based on React). After the webpack packing the project, the developing page will be automatically reloaded(May be called HMR, Hot Module Replacement). But after the page reloaded, the CSS of the page is not rendered, It also need refresh the page by F5. Thus, HMR does not work correctly on Firefox, but it can work on other browsers like Edge, Chrome

When I do front-end development, the framework I used is antd pro(Based on React). After the webpack packing the project, the developing page will be automatically reloaded(May be called HMR, Hot Module Replacement). But after the page reloaded, the CSS of the page is not rendered, It also need refresh the page by F5. Thus, HMR does not work correctly on Firefox, but it can work on other browsers like Edge, Chrome

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題