Suspense Support #3644
chrisvander
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, when using a component like
<Disclosure />
, I'd love to be able to determine when the body suspends and show a styled fallbackisPending
state for the component. To do this correctly, I believe the state change should be marked as a transition, as opposed to a typical React state change. Could this use case be supported?I believe having the state changes be transitions in the tab group and disclosure components make sense by default. If anything suspends within the body, it fits the React definition of being deferrable. Having more information on when this occurs and if we can get a pending state would be ideal.
Beta Was this translation helpful? Give feedback.
All reactions