Hacker News new | ask | show | jobs
by jbhatab 3591 days ago
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.

2 comments

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.

If you're using Chrome, I highly recommend the Redux DevTools extension. You'll have insight into your state, actions and even a timeline. With a little extra work (less than Reactotron) you'll get it working in React Native as well. I find it quite helpful.
+1 for Redux DevTools! Its great! The guy who wrote it is much smarter than me. :)

Reactotron has a slightly broader scope (read: not as feature complete with redux - eg, no time travel debugging). I do have things like api monitoring, logging, error tracking with source maps, and benchmarking.

I couldnt quite fit that in my demo gif. It took 11 takes to get what I settled on. I could use some improvement with that.

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.