Live data from Hacker News

Reactotron – CLI and OS X app for inspecting React Native and JS apps

github.com

1–10 of 25 posts

Re: Reactotron – CLI and OS X app for inspecting React Native and JS apps

#3
post #2

I've been doing react web and native apps for a while. Why do I want this exactly? Seems like a lot of stuff that's almost competing with my ide stuff but not quite useful enough to switch off? Not attacking, just want some perspective.

Unlike (traditional) IDEs, this is a runtime tool. It lets you dynamically interact with your program by essentially turning it into a REPL where the language is defined by your actions and reducers. I also like how the CLI makes you feel like Iron Man. Very cool project, and I'm excited to see where tools like this are headed.

Edit: I just integrated with my app and just realized a reason why Redux is so important. It makes integrations like this actually, truly a several minute task, no matter how your state is stored _inside_ of Redux.

Re: Reactotron – CLI and OS X app for inspecting React Native and JS apps

#5
post #2

I've been doing react web and native apps for a while. Why do I want this exactly? Seems like a lot of stuff that's almost competing with my ide stuff but not quite useful enough to switch off? Not attacking, just want some perspective.

Totally legit concerns.

For me, I have visibilty issues into my apps when they grow. The ability to query your redux state tree for answers at any time without logging is helpful for me.

Same with API calls... wait what did I just send? Thats not right!

The subscribe feature allows you to keep an eye on subsets of your state tree as they change.

Its all about focusing. Which is my achillies heel.

What kind of tools are you using for this now?

Cheers man. Appreciate the honest feedback.

Re: Reactotron – CLI and OS X app for inspecting React Native and JS apps

#7
post #4

For me, one of the big drawbacks this has when compared to Redux logger middleware is that I can't inspect each object associated with a given action. Being able to watch my state mutate and look at it after the fact has been a great boon.

The new App supports this when you subscribe to paths in your state tree. It'll tell you: of the keys you're tracking, heres the adds, edits, and deletes. At mutation time.

Redux logger indeed shows you all this info. My goal with this is not to show you everything, but just what matters.

Debugging is a very personal thing. Hell, I remember using MessageBeep() in the 90's to help me debug. Whatever works!

Post reply on HN