我正在开发一个反应应用程序。它具有简单的特点。问题是,在用户登录后,他们被迫在登陆页面加载之前等待6-9秒。
因此,我想在用户单击“注册”按钮后添加一个进度条作为弹出,以通知用户页面正在加载。
const handlePress = () => {
if (!firstName) {
Alert.alert("First Name is required");
} else if (!phone) {
Alert.alert("Phone Number is required.");
} else if (!email) {
Alert.al