resetStores() method that reset all the stores back to their initial state. It can be useful when you want to clean the store's data upon user logout.
In order to enable it globally, you should set the
resettable option to
Now you can call the global
In addition to that, you can set a specific store to be
Now, you can call the store's