Skip to content

outroing if_blocks cannot receive updates #4683

Open
@pushkine

Description

@pushkine

outroing if_blocks will not receive any update from the tick they get outroed on
render_simple :
https://svelte.dev/repl/3abed636ab2d456882e49b1db35c677f?version=3.20.1
render_compound :
https://svelte.dev/repl/5e950ff7951f4afc9b627aa9832fae5b?version=3.20.1

render_simple does have the following comment in the compiler

// no `p()` here — we don't want to update outroing nodes,
// as that will typically result in glitching

it's been there since the initial commit 2 years ago

I don't really see why it couldn't be fixed, might give it a try in a few days

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions