Skip to content

Direct children of <Suspense> are not rendered reactively #1023

@otonashixav

Description

@otonashixav

Reproduction: https://playground.solidjs.com/?hash=1323272100&version=1.4.1

Expected: The count should update when the button is clicked.

I think the solution is to use createMemo instead of untrack here: https://github.com/solidjs/solid/blob/main/packages/solid/src/render/Suspense.ts#L175

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions