how to use suspense on useEffect for didmount and context?

后端 未结 0 1058
野的像风
野的像风 2021-01-06 13:58

so i have this code i want to use in a suspense but i got this code Uncaught: Promise {}

 useEffect(() => {
    handleAuthorizationHeader();
    let fired          


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