View Control

Switch between multiple views for the user.

About the application

In this application, we can see few changes in our app.py. There is a state variable, booksShow, that tells our application when to show the list of books. We apply a ternary statement in a component tree to reflect the change in the UI.

This is what the application looks like:

Get hands-on with 1200+ tech skills courses.