Skip to content

Comments

feat: manual strategy#1

Open
tlgimenes wants to merge 2 commits intomainfrom
feat/manual-link
Open

feat: manual strategy#1
tlgimenes wants to merge 2 commits intomainfrom
feat/manual-link

Conversation

@tlgimenes
Copy link
Collaborator

No description provided.


will prefetch `/bar`.

`manual` disables listening and requires you to call `window.quicklink.prefetch`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Fresh you'd use globalThis instead of window.

}): Plugin => {
const main = `data:application/javascript,
import { listen as qlListen } from "https://esm.sh/quicklink@2.3.0";
import * as quicklink from "https://esm.sh/quicklink@2.3.0";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to be more specific?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants