Problems with the organization of dva code

can not be used until the data obtained by an interface is requested to be processed.
is better to put to store after being processed in the models file.
still initiates a dispatch to save to store after (then) processing in the callback of dispatch in the component

Apr.08,2021

processing in the component will put the data processing logic in the component. If the data structure changes later, it will be handled in the component, which is not conducive to the reuse of the component. It feels better to be handled in dva


must be handled in effects of model , and then directly put a reducer , on it.

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