How to get accessToken from React context API and put it into Apollo's HttpLink?

前端 未结 0 678
梦谈多话
梦谈多话 2021-01-21 21:38

I\'ve the following project structure(roughly),

src/
  index.tsx -> entry point for React
  App.tsx 
  client.tsx -> Apollo client definition
  components/
         


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