skip to Main Content

React Native – Authentication – trigger value to change Auth & UnAuth Stack Navigators

Here my App.js import React, { useEffect } from "react"; import { NavigationContainer } from "@react-navigation/native"; import AuthStore from "./src/stores/AuthStore"; import AuthStackNavigator from "./src/navigation/AuthStackNavigator"; import UnAuthStackNavigator from "./src/navigation/UnAuthStackNavigator"; const App = () => { useEffect(() => { console.log("APP JS", AuthStore.userAuthenticated);…

VIEW QUESTION
Back To Top
Search