How to do memory management in react-redux?
|Added at||2016-12-30 05:12|
As we know that provider will make available all the data stored in store to our application, but I am wondering about the memory because in create store we are saving all the data of our application. Now If my application has multiple pages with huge data then all the data will be in store, in this case there is a risk of memory leakage. So how can we clear and store data in react-redux dynamically to overcome this memory leakage.
I am saving data in create store as:
Please suggest me how can I avoid the memory leakage?