-
I'd like to use
Is there any way to do this? If not I know this is a really rare case, but I wish it were possible. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, this is not possible per design. When using |
Beta Was this translation helpful? Give feedback.
No, this is not possible per design. When using
suspense
, you'd expectdata
to be defined after you call the hook, because you don't need to handle loading states (handled by suspense boundary) and error states (handled by error boundaries). If we take error handling away, this wouldn't hold true.