Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4.6k
Open
Description
Describe the bug
Another bug related to#16381
import{untrack}from'svelte'letname=$state('a')letcount=$state(1)constwait=()=>newPromise((resolve)=>{setTimeout(resolve,1000)})constpromise=Promise.resolve(1)constgetData=async()=>{awaitpromiseawaitwait()// This causes false positiveif(name==='a'){}returncount}letcountAsync=$derived.by(()=>{returnuntrack(()=>getData())});
Reproduction
Logs
System Info
Svelte 5.36.7
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels