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?
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.
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.
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.
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)
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.
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.
I've been using Gyroscope since launch -- amazingly beautiful, and well-done service. Can't wait to use the new app (when is the Android release coming? =)). I really hope you guys keep iterating! It's one of my favorite services to share with people :D
I can totally picture some people running in a specific pattern and sharing the generated photo on instagram.