loader and service worker
Hi. Does loader function use service worker that's why it works in parallel while user is navigating to a page?
1 Reply
extended-salmon•2y ago
The loader does not utilize a service. If you
await the loader, it blocks the page navigation till complete.
You can control some of the parameters that trigger a loader's refetch using the loaderDeps => ({ search }) => ({ foo: search?.foo || '' }).