infinitered / reactotron

A desktop app for inspecting your React JS and React Native projects. macOS, Linux, and Windows.
https://docs.infinite.red/reactotron/
MIT License
14.86k stars 945 forks source link

Redux not working #1108

Open dioptre opened 5 years ago

dioptre commented 5 years ago

Redux plugin isn't working for me.

I'm on debian. Reactotron version 2.15.1-571

Sagas, Connect etc are working, just no state information :/

I run the connect in the root componentDidMount, and successfully see the reactotron object from there. There's no error messages, no logs, nothing I can look to see what might be happening... stumped! Here's my config file:

const reactotron = Reactotron
    .configure({ 
      name: appName,
    })
    .useReactNative({
      asyncStorage: false,
    })
    .use(reactotronRedux({ onRestore: Immutable }))
    .use(sagaPlugin())    

Thanks for helping

What do I do to debug? Fix this?

johndturn commented 5 years ago

I don't know if this helps, but I was running into this issue as well, until I added a subscription in the State tab of Reactotron. I don't believe that it mentions that this is needed in the documentation, so I was confused by it at first as well.

This is what I did:

  1. Go to the State tab and click on the + button (or type the key command that it mentions in the middle of the screen) Screen Shot 2019-08-27 at 10 40 05 AM
  2. Type in * in the "Path" field in the modal that pops up Screen Shot 2019-08-27 at 10 42 14 AM

That should be it. You can start dispatching actions that will update your Redux store, and you should see the full store updating live in this tab now.

Note: You can customize the "Path" parameter if you only want to see certain parts of your store updating.

fabOnReact commented 3 years ago

I'm on ubuntu 20.04 and I can not see the infos about subscriptions in my Timeline (3.0.0-beta9)

image

quarryman commented 2 years ago

its 2022 and the issue is still there. It can be fixed by reverting reactotron-redux to 2.1.0 and using latest stable client app 2.x or latest beta 3.x It might be that reactotron-redux versions above 2.1.0 also work but latest one probably doesnt