Hi!
We have some logic which I moved from routeLoader to useTask. We did this to avoid re-running it on each navigation from the user.
The issue that I have is that useTask will always be executed after all the routeLoaders (for initial page load).
Since both routeLoaders and useTask are database reads, this is pushing my response time by quite a bit.
Is there a way to solve this? Basically is there a way to execute some logic at the same time as routeLoaders but only on page load and not navigation?
Thank You in advance