Collecting User Input

In web applications, you can collect user input from standard HTML form elements that look and behave similarly on all browsers. With native UI platforms, collecting user input is more nuanced.

In this chapter, you'll learn how to work with the various React Native components that are used to collect user input. These include text input, selecting from a list of options, checkboxes, and date/time selectors. You'll learn the differences between iOS and Android, and how to implement the appropriate abstractions for your app.

The following topics will be covered in this chapter:

  • Collecting text input
  • Selecting from a list of options
  • Toggling between on and off
  • Collecting date/time input

Technical requirements

You can ...

Get React and React Native - Third Edition 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.