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

Title and meta tags don't updated #40

Open
alnuaimi94 opened this issue Dec 6, 2023 · 3 comments · May be fixed by #65
Open

Title and meta tags don't updated #40

alnuaimi94 opened this issue Dec 6, 2023 · 3 comments · May be fixed by #65

Comments

@alnuaimi94
Copy link

Hi, how can i make html head updated for each page when i use ajax request in links

@imacrayon
Copy link
Owner

Hey Abdullah, Alpine AJAX doesn't currently support full page navigation. If there's enough interest in that feature I'd consider adding it (PRs are welcome too), but there's a lot of accessibility and state concerns we'd need to get right with full client-side routing (one of the reasons I've been putting it off 😄).
Personally, I like to drop https://instant.page/ into my projects; I think preloaded links go a long way in making apps feel fast without having to mess with client-side routing edge cases.

@alnuaimi94
Copy link
Author

Hey Abdullah, Alpine AJAX doesn't currently support full page navigation. If there's enough interest in that feature I'd consider adding it (PRs are welcome too), but there's a lot of accessibility and state concerns we'd need to get right with full client-side routing (one of the reasons I've been putting it off 😄).
Personally, I like to drop https://instant.page/ into my projects; I think preloaded links go a long way in making apps feel fast without having to mess with client-side routing edge cases.

I used many of ajax libraries like htmx, unpoly, swup js, barba js, Hotwire and your library

unpoly is very good library but i left it because the size of it, and i found your library very good because it using fetch instead of xhr request therefore i loved it.

@jonasfeige
Copy link

jonasfeige commented Feb 7, 2024

Hey Abdullah, Alpine AJAX doesn't currently support full page navigation. If there's enough interest in that feature I'd consider adding it (PRs are welcome too), but there's a lot of accessibility and state concerns we'd need to get right with full client-side routing (one of the reasons I've been putting it off 😄). Personally, I like to drop https://instant.page/ into my projects; I think preloaded links go a long way in making apps feel fast without having to mess with client-side routing edge cases.

Just wanted to say that full page navigation would actually be an amazing feature and allow me (and many others) to fully replace HTMX / Turbo in a lot of projects where Alpine is already being used for DOM manipulation, etc.

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 a pull request may close this issue.

3 participants