useEffect with async and Cookies.get

后端 未结 0 346
难免孤独
难免孤独 2020-11-30 15:59

I\'m trying to get cookie data in use effect and then use that data, my function looks like this..

  useEffect(() => {
    (async () => {
      const fa         


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