Using setInterval to call a react component function

前端 未结 0 1049
谎友^
谎友^ 2021-01-14 01:41

I have created a function called IsLoggedIn that uses a useEffect hook with axios.get to query a server for a user\'s cookie session time. I would like to call IsLoggedIn us

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