If saving to memory does not cause problems during testing, I did not delete the data from the state .
Even with several thousand entries in the list, memory usage should not cause any problems, and performance loss will be minimal if you do not, for example. copy the array during each state change.
Performance acceleration / delay caused by constantly reloading data from your backend will have a more negative impact on the user interface. You should also consider bandwidth usage, especially for mobile users.
, , , .