Constructor
# <Atlas />
Sub-root component of the app. Contains all global providers (NavigationContainer and SafeAreaProvider for React Navigation, QueryClientProvider for react-query) and is responsible for restricting unauthenticated users to the Intro screen by listening to AuthStore's accessToken value.
Members
# inner constant appState
Ref that keeps track of the app's state (opened or closed)
Methods
# static checkTokenOnAccessTokenChange()
Calls checkToken
when a change to the access token stored in AuthStore is detected.
# static registerAppStateChangeHandler()
useEffect hook that is responsible for registering an appState "change" handler that will call checkToken
each time the app is opened or closed on the device.