How it works...

Just for variety, instead of using my mobile phone, as I did earlier in this chapter, I decided to use an emulated device. After starting the application with npm start, I started my device, and soon got the following:

Our application, just loaded, waiting for the user to select a country

If the user touches the <Picker> element, a popup will be displayed, listing the countries that were received from our Node server, as shown in the following screenshot:

Upon touching on the list of countries, a popup shows up so that the ...

Get Modern JavaScript Web Development Cookbook 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.