May 2022
Intermediate to advanced
198 pages
3h 2m
English
We need to implement error handling and security measures in our interfaces to ensure that the quality and user experience of the application is good.
In this chapter, we'll modify the login page created in Chapter 1, Environment Setup and Introduction to UmiJS and configure the default HTML template for our application. You'll learn how to store and globally access data by configuring your application's initial state. Next, you'll learn how to block unauthorized access using the Umi plugin-access. Finally, you'll learn how to handle HTTP error responses and display feedback messages by configuring Umi requests.
In this chapter, we'll cover the following main topics:
Read now
Unlock full access