Server side rendering: Render component based on API response

前端 未结 0 610
旧时难觅i
旧时难觅i 2021-01-29 21:21

I have react isomorphic app with express with the following code:

async function action({ fetch, socket }) {
    
  const resp = await fetch(\'/graphql\', {
    b         


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