O'Reilly logo

React and React Native by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required