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