I am trying to access state of another slice in reducer of another slice using getState() method but looks like this is not allowed and hence the web application breaks.
Does anyone know whats the recommended way to access state of a slice inside reducer of another slice? I need this for my web application.
Thanks in advance for your any help