Skip to content

useTransition pending states should be isolated in different Suspense boundaries #2098

@eknkc

Description

@eknkc

Describe the bug

When you have multiple Suspense siblings with internal components calling useTransition, starting one transition shifts the pending signal to true inside all Suspense boundaries. Is this expected?

Your Example Website or App

https://playground.solidjs.com/anonymous/dac2d20e-5f9e-4bbc-be95-73ff967c88d2

Steps to Reproduce the Bug or Issue

Load https://playground.solidjs.com/anonymous/dac2d20e-5f9e-4bbc-be95-73ff967c88d2
Hit Start on one of the lines
All lines show Pending state

Expected behavior

Only the clicked line should show a pending state as it should be isolated in the Suspense boundary.

Screenshots or Videos

No response

Platform

Solid 1.8.15

Additional context

Let me know if I'm misunderstanding the functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions