when writing the code component, React.PureComponent inexplicably causes the state to be modified, but the component is not updated, so it is changed to Component to ok
is as follows: the timer is executed once per second, but the ui is not updated. The console shows that only after 4 times of regular execution (length is 4) will render once
