Should I create a single API request with all my relations and pass the data as props or do I have to do more than one?

后端 未结 0 342
慢半拍i
慢半拍i 2021-02-03 23:59

I am creating a SPA with Vuejs and Laravel as API.

I don\'t know which is the best method between:

  • Make a single API request to get all the data I need. Pass
相关标签:
回答
  • 消灭零回复
提交回复
热议问题