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
the client router won't re-execute known scripts found since the last full page load. Thus the server island code isn't executed if you visit the page again.
Hi! I do use the router's "preload page on link hover" feature to make things feel fast, so I would rather just use two lines of code to make things Just Work:tm: instead of reimplementing that myself.
Thus the server island code isn't executed if you visit the page again.
I'm not familiar with the Astro codebase, but it might be worth adding the ability to mark scripts as something to run every time you go to the page? Server islands not working properly with the ClientRouter is definitely a bit surprising in my opinion.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When navigating to a page with a client router link, server islands don't run and the island is stuck on the forever.
Kailee.s.video.mp4
(don't mind the clicking noises on the video 😅)
Bit more context on the Astro Discord: https://discord.com/channels/830184174198718474/1350777626079399936/1350777626079399936
What's the expected result?
Island loads in.
Link to Minimal Reproducible Example
https://server-islands-bug-repro.vercel.app (code: https://github.com/SkyfallWasTaken/server-islands-bug-repro)
Participation
The text was updated successfully, but these errors were encountered: