What kind of data is suitable for processing with redux and so on?

what kind of data is suitable for store? Both vux and redux, see that many people put all the data in store for global management, such as a list. In fact, the data in this list is not communicated with other components, but is only used in this list. And there is another problem in this way, that is, the data rendered when you first came in is the last time, and it will not be up-to-date until the request is completed, especially when the two lists use this state, only if the query conditions are slightly different, or even when the request fails, the data rendered is completely the last time.

Mar.07,2021

in theory, the data that needs to be shared between components uses its own state within the redux; component.
but many companies store all their data in store,. Last time, a senior Ali colleague said that they had stored all their state in store for maintenance convenience. Because I think that if the version is iterated in the future, it will be more convenient for maintenance.

each has his own preferences. I think all of them are fine. However, at present, I prefer to store the state inside the component in its own component and need to share the store.

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