Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 client render 時針對 <a> 處理 prefetch #25

Open
cheetosysst opened this issue Aug 31, 2023 · 1 comment
Open

在 client render 時針對 <a> 處理 prefetch #25

cheetosysst opened this issue Aug 31, 2023 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@cheetosysst
Copy link
Owner

arkhi/client/client.tsx 實做,遇到 <a> 時加上原先會被覆蓋掉的 listener

@cheetosysst cheetosysst added bug Something isn't working enhancement New feature or request labels Aug 31, 2023
@cheetosysst
Copy link
Owner Author

我覺得還是要一個 <Link / 元件
島嶼外面的 link 現在已經可以處理 prefetch了,和島嶼同個層級的可以在 render 時處理,島嶼裡面的應該要額外處理
那這個時候就能夠統一使用一個 <Link / 元件處裡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants