Live data from Hacker News

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

github.com

11–20 of 25 posts

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

#11
post #8

What did you use for the CLI UI? It looks really nice.

Blessed. It does a lot. Theres also a contrib repo for it that does graphs, a grid sytem, maps (if you can believe it), etc.

Problem is, colorizing the code can be cpu heavy.

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

#13

This looks interesting! Nice to see some solid open source tooling emerging for React.

Thanks. There's lots of action going on right now in the tools space.

For React Native there's Redux Dev Tools, Deco, Ignite, Exponent, and this to name a few. All active, interesting, and open.

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

#14
post #9

Hey skellock, I see you're using AVA for testing. As an AVA team member, thanks!

I absolutely adore AVA. Two way dependency tracking is underhyped. You've done amazing work. Thank you.

Though off topic. Could you explain a bit more on what you mean by "two way dependency tracking" ? Something along the lines of why that is useful and how ava helps in this would be really helpful.

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

#17

I am curious of the use of React to build desktop apps. Can anyone give me an overview?

Have a look to Electron http://electron.atom.io/ it provides the APIs to the host OS, then about the React part maybe using one of the popular boilerplates https://github.com/chentsulin/electron-react-boilerplate

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

#18

I am curious of the use of React to build desktop apps. Can anyone give me an overview?

Have a look to Electron http://electron.atom.io/ it provides the APIs to the host OS, then about the React part maybe using one of the popular boilerplates https://github.com/chentsulin/electron-react-boilerplate

I am sorry, I meant to ask if React is as fast as writing applications in other langs like C/Java/Python/Go.

I hear that JS is slow, plus I use a lot of apps based on electron and they are a bit slow, VSCode is a remarkable exception to that norm.

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

#19
post #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 a…

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.

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

#20

Earlier quoted context omitted.

Have a look to Electron http://electron.atom.io/ it provides the APIs to the host OS, then about the React part maybe using one of the popular boilerplates https://github.com/chentsulin/electron-react-boilerplate

I am sorry, I meant to ask if React is as fast as writing applications in other langs like C/Java/Python/Go. I hear that JS is slow, plus I use a lot of apps based on electron and they are a bit slow, VSCode is a remarkable exception to that norm.

React Native uses native OS components, meaning they'll render fast. But if you want to do heavy computing you may get frame drops. Some bundled components are partially native and partially custom, so you'll still need to be mindful of how you work with them.

There's a section in the React Native documentation dedicated to explaining this and I think it does a good job of it: https://facebook.github.io/react-native/docs/performance.htm...

In my opinion, for many use cases you'll be able to write an app that really feels native an performs very well. If you need more performance or other custom stuff you are also able to integrate your own native components (e.g. Swift/Objective-C, etc.) into React Native.

Post reply on HN