Skip to content

Svelte error/isolation/resilience model for components? #6080

@Baxterboom

Description

@Baxterboom

I do not understand the "error model" of svelte. Runtime error in one component causes whole app to stop responding. Only way out of it is to reload (f5) the browser. This does not feel resilient to me. IMO only the affected component should fail. Am I thinking about it wrongly, or missed something in the docs about this?

Here is a example demonstrating the case.
https://svelte.dev/repl/f097db80392243ab8edc8a8d6a355e98?version=3.35.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions