Skip to content

support startTransition in useMutation and useSubscription #5149

@matclayton

Description

@matclayton

Sorry if this is a misunderstanding of how startTransition should be used. But we would ideally like to use useSubscription / @prependNode to append items to a list via a transition. This is working nicely using @prependNode (or an update function), without transitions. But when we can't figure out how to successfully trigger the startTransition and have it cause the ViewTransitions to animate, is this expected behaviour?

So far we've tried,

  1. Seeing if it just worked.
  2. Adding startTransition to the onNext/update calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions