Closed Kechr closed 2 years ago
Added proof of concept login system and global state for userID.
// Access global state import AppContext from "../AppContext"; const myContext = useContext(AppContext); myContext.userID // Update global state myContext.updateUserID(username);
Added proof of concept login system and global state for userID.