how to use contextAPI inside getInitialProps

前端 未结 0 1267
孤独总比滥情好
孤独总比滥情好 2021-01-22 04:29

We are using ContextAPI to manage user authentication state. We want to make Private Route Component.

If a user is not authenticated, Private Route Component redirect to

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