I'm new to redux.If I have large data (100000 records) in two or more pages that all of them are editable. Redux how manage it?
Should I load all data in store even most of those records not rendered yet?
what is exactly mean of :
The state of your whole application is stored in an object tree within a single store. https://redux.js.org/docs/introduction/ThreePrinciples.html
Redux provides a sane data flow. It is not about data management. Your concerns should be more or less directed to the render bit. Or in other words React. I see two problems:
The first problem may be solved using pagination while the second one by using a component like https://github.com/bvaughn/react-virtualized
It's just a normal JavaScript object. I don't think it's feasible to keep all that data in memory. That's why databases exist after all. You have a number of solutions of course.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.