I see that saveState and restoreState write the whole store to the indexedDB every time a state property gets changed.
This is extremely inefficient on a store which contains a lot of data.
Is it possible to only change the single key which has been modified directly?
I have a lot of data in my store which does not change often, and reading/writing it every time a boolean property changes kills performance completely.
I see that saveState and restoreState write the whole store to the indexedDB every time a state property gets changed.
This is extremely inefficient on a store which contains a lot of data.
Is it possible to only change the single key which has been modified directly?
I have a lot of data in my store which does not change often, and reading/writing it every time a boolean property changes kills performance completely.
What am I missing?
Thank you so much. Jamie