3 ms·
If you have multiple components that require access to the same data do you fetch the same data multiple times?
by supermatt 3y ago
If you have multiple components that require access to the same data do you fetch the same data multiple times?
- andrewstuart 3y agoI send it in a custom event to the part of the system that needs it. Or I ask multiple times. Asking multiple times is a tradeoff - if you are really needing to economise on back end server load then maybe front end caching matters more. But if your back end isn't going to mind, then ask again.