Hot module replacement refreshes the whole webpage using React


When this line: Framework7.use(Framework7React) is added to the code, in the entry file of the Webpack, where first initialize the Framework7 + React app, it ruins the Webpack’s Hot module replacement. If I run the code with this line and then comment it, the HMR is working - however, on each refresh I should uncomment and re-comment it all over again. This is tedious.

However I hope that Framework7 can handle this issue and fix so it will work properly even with this line.
This is extremely important, since every refresh takes up to 9 seconds and this is not good for productivity.