-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering React Native

While being able to write in a familiar language makes writing React Native apps relatively easy for JavaScript veterans, there's another equally important part of the development experience that we haven't touched upon-debugging. Earlier, we mentioned how Google Chrome contains amazing JavaScript debugging tools. They are among the best out there and are often why many frontend developers choose Chrome as their primary browser for testing and development. Thankfully, the Facebook team has crafted React Native such that we can debug our React Native JavaScript code in these familiar tools. When you debug your React Native application, it runs in a proxy mode, whereby your application's JavaScript is actually run inside of Chrome's V8 JavaScript engine instead of on the device or simulator's JavaScriptCore engine. The React Native Packager will then broker communication between the app and Chrome using web sockets.
As you may have noticed...