You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gatsby-plugin-offline): delay adding resources for paths until we have urls (#8613)
* Fix fetching resources before prefetch finishes
* Pass onPostPrefetchPathname into onPrefetchPathname so plugins can call this when ready
* Improve docs
* Move onPostPrefetchPathname to the end
* Refactor Guess.js plugin to use getResourcesForPathname
Also make it easier to read by removing some unnecessary lines and
changing indentation
* Remove unnecessary lines
* Undo accidental change
* Call onPostPrefetchPathname from getResourcesForPathname
* Refactor prefetching APIs
* Remove comment + minor refactor
* Remove unnecessary params
* Refactor for consistency
* Move API call outside the if-block
* set api runner for loader earlier
0 commit comments