Chapter 20. Alerts, Notifications, and Confirmation

The goal of this chapter is to show you how to present information to the user in unconventional ways. The conventional approach is to use a View component, and render this directly on the screen. There are times, however, when there's important information that the user needs to see, but we don't necessarily want to kick them off the current page.

We'll get started with a quick discussion on important information. Knowing what important information is and when to use it, you'll see how to get user acknowledgement—both for error and success scenarios. Then, we'll implement some passive notifications that show the user that something has happened. Finally, we'll implement modal views that show ...

Get React and React Native now with O’Reilly online learning.

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