You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an unexpected error happens in a template, the component is not usable anymore, and the page must be refreshed.
For example, I have a component that is a dialog, and after some user action, I try to access a property on a null value in the template (because of a programming error), and I have the error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'name')
After that, the dialog component can't be loaded anymore at all. Application is now unusable.
See REPL where I reproduce it.
Note that I marked this phenomenon as severe (in Severity field of this issue), because it is a major nuisance for the users and the success of my app, and the app becomes unusable.
Describe the bug
If an unexpected error happens in a template, the component is not usable anymore, and the page must be refreshed.
For example, I have a component that is a dialog, and after some user action, I try to access a property on a
null
value in the template (because of a programming error), and I have the error:After that, the dialog component can't be loaded anymore at all. Application is now unusable.
See REPL where I reproduce it.
Note that I marked this phenomenon as severe (in Severity field of this issue), because it is a major nuisance for the users and the success of my app, and the app becomes unusable.
Reproduction
https://svelte.dev/repl/00400e81d69e4907ab393a2f4644879c?version=3.44.1
Dummy demo where you can enter text and it decorates with emojis. If you enter "crash", the application becomes unusable.
Logs
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: