-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
onMount
No Longer Being Invoked on Svelte Upgrade v3.59.1 -> 4.0.5
#8961
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
Comments
Duplicate of #8953 |
Add |
Thanks for this fix. I too was bitten by this change. Adding
|
dummdidumm
added a commit
that referenced
this issue
Jul 13, 2023
#8953 / #8961 --------- Co-authored-by: Simon H <[email protected]>
Ennoriel
pushed a commit
to sveltefr/svelte
that referenced
this issue
Jul 25, 2023
sveltejs#8953 / sveltejs#8961 --------- Co-authored-by: Simon H <[email protected]>
Ennoriel
pushed a commit
to sveltefr/svelte
that referenced
this issue
Jul 25, 2023
sveltejs#8953 / sveltejs#8961 --------- Co-authored-by: Simon H <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In my VSCode extension, I am using Svelte for the UI of my web panel. I have created multiple
.svelte
components that haveonMount
running fine in Svelte v3.59.1 and Svelte-Check v3.4.3.I recently upgrade Svelte to 4.0.5 and Svelte-Check to 3.4.5 and ever since this upgrade, none of the
onMount
functions in any of my components are being invoked.Reproduction
Link to GitHub Repo Files
https://github.com/ctc-oss/daffodil-vscode/blob/implement-highlevel-svelte-components/src/svelte/src/components/DataDisplays/CustomByteDisplay/DataLineFeed.svelte
https://github.com/ctc-oss/daffodil-vscode/blob/implement-highlevel-svelte-components/src/svelte/src/components/DataDisplays/DataViewports.svelte
https://github.com/ctc-oss/daffodil-vscode/blob/implement-highlevel-svelte-components/src/svelte/src/components/Header/fieldsets/SearchReplace.svelte
Logs
No response
System Info
The text was updated successfully, but these errors were encountered: