Load saved data when the app opens
Your task Inside the effect, load the name and put it in state if there is one: AsyncStorage.getItem("name").then((saved) => { if (saved) setName(saved); });
Getting the editor ready
Your task Inside the effect, load the name and put it in state if there is one: AsyncStorage.getItem("name").then((saved) => { if (saved) setName(saved); });
Getting the editor ready