How best to request data only once for each route in a Sapper app

前端 未结 0 1311
执念已碎
执念已碎 2020-12-19 03:17

I\'m fetching data from a GraphQL API for each page in a Sapper app. I could request all the API content for the different pages in the _layout\'s preload

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