I am new to working with state management. Currently I am working on a blazor application and I stumbled across the "fluxor" framework which allows state management via the flux pattern. Fluxor is working perfectly for me, however I can't seem to figure out where the State of a page is actually stored. Is it in cache, a db or some other fancy way? Is there a way for me to see that stored data in the browser?
I use fluxor on the client side of my application by the way.
Thanks for helping me out!
State is kept in memory. You can view the state with a nice GUI by enabling Redux Devtools with
.UseReduxDevTools()
like this:Then use the redux devtools addin:
https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en
If you wish to save the state to localstorage or a database I made a library to persist the state called Fluxor.Persist:
https://github.com/Tailslide/fluxor-persist