How to store firebase's JWT from localStorage into context API using useContext() in useEffect() before rendering in Next.js?

后端 未结 0 1667
耶瑟儿~
耶瑟儿~ 2021-02-05 10:08

In my app I\'ve signedIn or signedUp the user and then I have saved the JWT and expiry time from firebase in browser\'s local storage. Now when I refresh the page or reopen the

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