Debugging a React Native app

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 ...

Get Mastering React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.