Open futamiy opened 2 days ago
@futamiy Please provide a valid reproduction. Here is the guide to create it.
Hello @futamiy. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs repro
will be closed if they have no activity within 3 days.
stackblitz link: https://stackblitz.com/edit/withastro-astro-tkdvnm?file=package.json
What does flamethrower
do? Without the library, the server island works, so @futamiy you would need to explain to us at least what's happening.
Video reproduce
https://github.com/user-attachments/assets/0700827a-e197-4bac-b9af-f98c73515609
Error code
When click a link and using flamethrower
, image can't show until refreshed manually because replacing body from library
Explain framethrower
video: https://youtu.be/SJeBRW1QQMA?t=311
I don't think there's much we can do, if a library messes up with script tags, we can't prevent it.
I will send a PR to avoid that runtime error in the console, but maybe you should check if that library allows to prevent prefetching all script tags
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When in page with server island and open link with server island (and same name component too) where using preload library like framethrower, component not loaded and show this error
Repo
What's the expected result?
server island component load normally even use preload library
Link to Minimal Reproducible Example
Web Preview: https://4885e27d.futami.pages.dev/ Stackblitz Link: https://stackblitz.com/edit/withastro-astro-tkdvnm?file=package.json
Participation