Building an Auth Flow with Expo Router
Автор: Expo
Загружено: Дата премьеры: 17 апр. 2025 г.
Просмотров: 11 970 просмотров
Learn how to implement an auth flow in your Expo Router project. We will display a login screen to unauthenticated users, persist the auth state in device storage and show how to delay hiding the splash screen when fetching the initial auth state is asynchronous.
Starter project: https://github.com/kadikraman/expo-ro... (we start where the modal tutorial ended)
Code from the video: https://github.com/kadikraman/expo-ro...
Authentication docs: https://docs.expo.dev/router/referenc...
Async Storage: https://react-native-async-storage.gi...
React Context: https://react.dev/reference/react/cre...
00:00 - Intro
00:38 - The auth flow
02:06 - Add the auth redirect
06:50 - Storing the auth state
10:49 - Persist auth state across app launches
15:40 - Show splash screen while auth is undecided
17:19 - Outro
#Expo #ReactNative #reactnativetutorial #exporouter

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: