Closed axosoft-ramint closed 4 weeks ago
Hey @axosoft-ramint, while reviewing your PR, I'd suggest the following code changes:
Added new util functions (already on
main
), and it should now send the slow event anytime it crosses the threshold, but will now capture the full duration even it if errors out
You can also review and apply these suggestions locally on your machine.
Some explanation for the current implementation not simply putting the load times on the "on Refreshed" event of the Focus Provider:
If there's a way we can get away with returning just the items on
getCategorizedItems
and returning the load times separately, I'd love to hear some feedback on that.