svelte-memory-leak Svelte Themes

Svelte Memory Leak

Steps

  1. npm run build && npm run preview
  2. Go to localhost:4173
  3. Open devtools Memory tab
  4. Take snapshot
  5. Click toggle, click increment, click toggle again
  6. Take another snapshot
  7. Filter with "detached", observe some detached nodes
  8. Repeat steps 5-7 to see amount of detached nodes growing every time

Top categories

Loading Svelte Themes