React Routing: How do I make my PrivateRoute wait for LoadUser() and avoid redirecting?

前端 未结 0 1409
鱼传尺愫
鱼传尺愫 2020-12-23 06:42

I have a typical to make certain routes private in my React app. It works fine but I noticed that upon refreshing the private page, it will

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