Skip to content

$effect.pending() with $state.eager broken #18095

@Robonau

Description

@Robonau

Describe the bug

no way to have data outside a svelte:boundary not be effected by await's going on inside a svelte:boundary if they depend on the same data

with the old #await nothing outside of the await is effected by the awaiting data

Reproduction

https://svelte.dev/playground/248ef74f986e417ab633d1969e9a5abb?version=latest

if you comment out the {@const tmp = await delayed(valu)} line then it works as expected

with just the new async there is no way to get what i want to happen to happen
https://svelte.dev/playground/47a270e533f14c0cb0e95d60f2cbaa8b?version=latest

Logs

System Info

the svelte.dev playground

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions