Will the sub-components of setState update and re-render if the properties have not changed?

is it necessary to re-render the setState later, regardless of whether the data of the sub-component has changed or not? if so, what is the use of the diff algorithm?

Mar.23,2021

renders vdom, compares the vdom generated before and after data changes using the diff algorithm, and finds the operation to minimize dom


normally it will.
if PureComponent is used or processed in shouldComponenetUpdate , then


setState triggers the subcomponent's recalculation vdom, but does not necessarily update dom

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