-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying to render a derived value throws #10829
Comments
Please provide a proper minimum reproduction, the link has way too much side stuff going on. |
alright will get a stackblitz going |
What version of Svelte are you using? |
Judging from the package.json it's Svelte 4 |
hey so it looks like its because the updates were done inside of async functions (both reactive assignments and store updates break)? if I were to make the functions themselves sync but perform the updates within a promise I get the same result but if the functions are sync (just commenting out the call to and the result is: stackblitz: https://stackblitz.com/edit/svelte-bugs-10829-10828-10827?file=src%2FApp.svelte |
Issue is coming from shadcn |
Describe the bug
A
console logging shows that there is a value
see: https://github.com/nmathew98/qwery/blob/dev/packages/example-svelte/src/Thread.svelte#L98
Reproduction
see: https://github.com/nmathew98/qwery/blob/dev/packages/example-svelte/src/Thread.svelte#L98
Logs
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'ctx[2].children') flush (chunk-J6N3ENYP.js:1322)
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: