HenrikJoreteg / redux-bundler

Compose a Redux store out of smaller bundles of functionality.
https://reduxbundler.com
583 stars 46 forks source link

persistActions storing entire state #35

Closed ajo2995 closed 6 years ago

ajo2995 commented 6 years ago

I'm trying to use persistActions to keep track of user preferences, but other data (from API calls) are also being cached. I have a bundle for these settings and thought that listing the actions within that bundle would limit the scope of the cached data. Is this the expected behavior for perisistActions or am I not using it properly?

https://github.com/warelab/sorghum-webapp/blob/master/search_app/src/bundles/searchUI.js#L56

ajo2995 commented 6 years ago

I found that if I pass persist: false to createAsyncResourceBundle() it behaves how I expect