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

🐛 BUG:Turbolink integration with Doc template #3328

Closed
1 task
anoopsinghbayes opened this issue May 10, 2022 · 6 comments
Closed
1 task

🐛 BUG:Turbolink integration with Doc template #3328

anoopsinghbayes opened this issue May 10, 2022 · 6 comments
Assignees
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)

Comments

@anoopsinghbayes
Copy link

What version of astro are you using?

^1.0.0-beta.20

Are you using an SSR adapter? If so, which one?

No

What package manager are you using?

npm

What operating system are you using?

Mac

Describe the Bug

Turbolink integration does not work for me
I also tried it with the base Docs template and it doesnt work

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-yavbsq?file=astro.config.mjs

Participation

  • I am willing to submit a pull request for this issue.
@natemoo-re
Copy link
Member

I'm having trouble reproducing this, but it seems to work fine on Stackblitz. Could you provide more detail as to what is not working?

@natemoo-re natemoo-re added the needs response Issue needs response from OP label May 10, 2022
@anoopsinghbayes
Copy link
Author

The turbo links integration should allow client side routing but if you navigate to other pages you see a full page load

@anoopsinghbayes
Copy link
Author

Try downloading the stackblitz example mentioned up here, the turbolink integration does not work as there is a full page reload on clicking any links in the app

@natemoo-re
Copy link
Member

Thank you! This definitely looks broken. We'll look into what's going on here.

@natemoo-re natemoo-re added - P4: important Violate documented behavior or significantly impacts performance (priority) s1-small and removed needs response Issue needs response from OP s1-small labels May 11, 2022
@FredKSchott
Copy link
Member

This integration is really tough to maintain, and turbolinks is deprecated. @tony-sull to experiment with swup as an alternative, and we can potentially discuss prioritizing a first-class Astro "turbo"/"spa" mode.

@tony-sull
Copy link
Contributor

Closed by #3383

Turbolinks is no longer under active development. The @astrojs/turbolinks integration has been deprecated.

Looking for an alternative?

Check out swup! If you are using any client:* script for partial hydration, make sure to install the @swup/scripts-plugin to ensure components are rehydrated after a page navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)
Projects
None yet
Development

No branches or pull requests

4 participants