News for hackers. Stuff that matters.
Re:The Making of Gyroscope Running, a React Native App by googletron on Friday November 13, 2015 @04:25PM (#10562499)
If anyone has questions about starting app from react native I would me more than willing to chat! Ask away.
Re:The Making of Gyroscope Running, a React Native App by akamaka on Sunday November 15, 2015 @02:03AM (#10568777)
Starting a React Native app project has been quite easy, but what resources do you use when you need to go deeper to solve difficult problems? I find that a lot of the documentation makes everything look easy, but I don't understand what's going on underneath the hood.

Do you just read the React Native source code to learn how it actually works?

Re:The Making of Gyroscope Running, a React Native App by googletron on Sunday November 15, 2015 @05:27AM (#10569208)
You will just have to start trying. There is still a lot objective c that you will need to write for various kits that haven't been ported over.

So learning how to write bridges and view managers are pretty much essential.

Very active issues tab and community though, so you can work through most thing, but definitely room for improvement though. But the biggest struggle was keeping with it and buying into React way of doing things.

hit me up on twitter if you have more specific questions @myusuf3.

Re:The Making of Gyroscope Running, a React Native App by akamaka on Sunday November 15, 2015 @10:56AM (#10569924)
Thank you! I've asked this same question before, but your answer is the most actionable one I've received so far. I'm going to dive in and get a better understanding of bridges and view managers.
Re:The Making of Gyroscope Running, a React Native App by evansolomon on Sunday November 15, 2015 @02:40AM (#10568847)
In the React Native case specifically, I've found that searching github issues is often super helpful. The project is very popular, changing really really fast, and still has a bunch of rough edges. So if something really seems wonky (and isn't a bizarre use case), it's pretty common that someone has already brought it up there.

Reading the code is pretty much always a good idea, too.

Re:The Making of Gyroscope Running, a React Native App by kuzmin on Sunday November 15, 2015 @02:36AM (#10568841)
Not the parent but I thought I'd chip in.

When I get stuck using one of the Native APIs, I usually look in the source code. It usually becomes very clear which issues that might have occured. What I'm saying is; there's no need to read the full source code, just reading the relevant component/API adapter goes a long way.

(At least for the problems I have solved. Your mileage may vary)

Re:The Making of Gyroscope Running, a React Native App by joshuahornby on Sunday November 15, 2015 @04:25AM (#10569039)
How have you found dealing with the Navigation/Router and passing props. From my experience it was a real pain, for example when you change route the props wouldn't update or other odd quirks.
Re:The Making of Gyroscope Running, a React Native App by googletron on Sunday November 15, 2015 @05:29AM (#10569214)
I haven't had this issue, but I have had subtle bugs where I was ultimately the root cause. Debugging hasn't gotten better over time. Good old print statement proves extremely useful here.