facebook / facebook/relay

support startTransition in useMutation and useSubscription

Open
#5,149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.