I have a quick question about workload calculations.
I don’t fully understand the workload calculations, and I need help with the example below. Which of these two implementations incurs a higher workload cost?
- Multiple Calls:
- Current page’s novel’s chapter’s chapter-text
- Current page’s novel’s chapter’s chapter-number
- Current page’s novel’s chapter’s creation-date
(Essentially, 3 different calls on a page)
- Single Call with Custom State:
- Custom state (saved-info = current page’s novel)
- saved-info’s chapter’s chapter-text
- saved-info’s chapter’s chapter-number
- saved-info’s chapter’s creation-date
(Essentially, making a single call to the server and saving details to a custom state)