You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have chrome dev tools open and select the redux tab. Play around with some state (dispatch an action or something). Refresh. State in devtools is now undefined.
It's also important to note that while the dev tools shows state as undefined, my application works fine. I'm able to dispatch actions and see data updated. I'm able to get data from state. It just doesn't show
Specs
MacOS Mojave 10.14.2
Chrome 71.0.3578.98 (Official Build) (64-bit)
All redux-related deps are the latest and greatest.
I don't use redux devtools (the deps). I just use the one liner because I'm lazy like that
I haven't used Redux in several months but it was working properly last time. Unfortunately, because I haven't used Redux (and thus, redux devtools), I'm not sure when this bug was released. Sorry!
But if I close chrome devtools, refresh the page, open up chrome devtools again, and go to the redux tab, I have my state back. I can share a screenshot if needed.
The text was updated successfully, but these errors were encountered:
iamclaytonray
changed the title
[bug]: initial state is undefined after having it open and refreshing
[bug]: initial state is undefined after having r/devtools open and refreshing
Dec 20, 2018
Thanks for the report! Can you reproduce it with out todomvc demo? If not, a demo I could run to reproduce (on jsfiddle, codesandbox... or repo) would be helpful to look into. It also uses one-liner. I tried the specified steps and it doesn't lose the state there. Looks like in your case it got an exception in a react component, that's why it was working after closing and reopening.
Steps to reproduce
Have chrome dev tools open and select the redux tab. Play around with some state (dispatch an action or something). Refresh. State in devtools is now
undefined
.It's also important to note that while the dev tools shows state as
undefined
, my application works fine. I'm able to dispatch actions and see data updated. I'm able to get data from state. It just doesn't showSpecs
I haven't used Redux in several months but it was working properly last time. Unfortunately, because I haven't used Redux (and thus, redux devtools), I'm not sure when this bug was released. Sorry!
But if I close chrome devtools, refresh the page, open up chrome devtools again, and go to the redux tab, I have my state back. I can share a screenshot if needed.
The text was updated successfully, but these errors were encountered: