Skip to content

on:ready never lauched if component dynamically rendered #17

@nosovk

Description

@nosovk

If component wrapped into {if} block, then on:ready event never fired.
Repl: https://svelte.dev/repl/95841074fe1648cf883b2cd5cffde2f1?version=4.2.2
The key in a repl could be wrong, but the problem exists in a wild life also. Currently, I've just added a button to manual launch execute, as in an example. But it would be nice to avoid an additional step, and subscribe to an event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions