Errors

Errors in React Native app are seen as full screen errors on a red background. They usually provide lots of details and all the crucial data we need to pinpoint the problem. Let's take a look, for example, at the following error:

Not only do you get an idea of what the error is, you also have suggested ways to fix the problem. In this case, the error happens because the packager stopped running. You need to start it by running npm start as suggested in the error description.

Let's take a look at another example of an error:

Here, we ...

Get React Native - Building Mobile Apps with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.