The problem of render rendering in react dva antd Technology Stack

recently, I was working on a project based on a background platform of react dva and antd. I took over the project halfway. With the deepening of my work, I found that the code of pro on the official website and some logic code of our company"s project were written inside render. However, because of the react lifecycle, render will render many times, and sometimes there will be circular rendering. For example, when I am making a list of display pictures, adding pictures and editing pictures on three pages respectively, when I jump to the edit picture page in the picture list and pass the picture parameters, the parameters are passed in. but you can"t see the effect when you render. If you jump to the image list page without refreshing the page, you can see the rendering result when you jump back to the edit page, but you can"t see the rendering result when you refresh the page.

Mar.02,2021

I really don't understand what you're describing. Whether
react is render depends on the change of your state or props .

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-1be5909-39b46.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-1be5909-39b46.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?