What is the relationship between Suspense and startTransition #85
alvarlagerlof
started this conversation in
Q&A
Replies: 1 comment 1 reply
-
They are independently useful features, but they are designed to work together. The main way they interact is when you load new data into a page that already loaded. Like a pull to refresh interaction, or loading fresh data after a form submission / mutation. We tend to call these "refresh transitions" as opposed to "load transitions". If you don't use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There have been lots of great content showcasing new apis in isolation, but I'm wondering how these two work together or not.
Is either dependent on the other and if so in what way?
This post makes it seem like startTransition is only usable inside Suspense.
Beta Was this translation helpful? Give feedback.
All reactions