How to handle async function response in react native and save in useState?

前端 未结 0 425
你的背包
你的背包 2020-12-30 14:38
  const [confirm, setConfirm] = useState(null);   

  const signIn = async (phoneNumber) => {
  console.log(\'Entered into signIn Function\');
  setTextInputState         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题