Lazy loading of react-router4.0 routing uses bundle-loader configuration, and dynamic routing causes components to be re-rendered

after configuration, lazy loading is fine according to the configuration instructions of the budle-loader plug-in. However, when the page uses dynamic routing, it will cause the entire component to be re-rendered. The code and screenshot are as follows:

lazy loaded classify routing components

Bundle.jsx

classify

:

react-hot-loader:

I have tried other router4.0 solutions, but they seem to have no effect. For the time being, neither of these two problems has been solved. Thank you very much for the help of the gods who have solved them.

Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bf66-40b1a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bf66-40b1a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?