React JS render component from another component

前端 未结 0 1246
攒了一身酷
攒了一身酷 2020-12-10 21:38

So my goal is before a route get\'s rendered I want to check if the user token is valid.

In my App.js I have something like this:

       import Home fr         


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