While debugging, can I have access to the Redux store from the browser console?

前端 未结 9 1215
难免孤独
难免孤独 2020-12-12 14:01

I have unit tests for my reducers. However, when I\'m debugging in the browser, I want to check if my actions have been called correctly and whether the state h

9条回答
  •  独厮守ぢ
    2020-12-12 14:47

    The recommended solution doesn't work for me.

    The correct command is:

    $r.props.store.getState()
    

提交回复
热议问题