ed12a54339a2a2b8a1d61dfd251984da0dede221
loadFile() reads fileUrl synchronously before its first await. When called from a \$effect, Svelte tracks that read and re-runs the effect every time fileUrl changes — i.e. after every successful load — causing an infinite cycle of file fetches and PdfViewer remounts. Fix: wrap the fileUrl read in untrack() so callers never accidentally subscribe to fileUrl changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Python
73.2%
TypeScript
11.5%
Java
10.8%
Svelte
4.2%
Shell
0.1%