Can you add skip
in the react hook?
#4140
Unanswered
veeramarni
asked this question in
Ideas
Replies: 1 comment
-
I feel like this is going against the recommended React patterns. You can usually restructure your component tree to solve issues like this. You could even wrap this machine in another one, the outer one could act as a shell that is merely waiting for the inner one to load its data - nothing would have to be "skipped" in such a setup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Like the below code, so the usemachine get skipped until the dependent state is loaded.
Beta Was this translation helpful? Give feedback.
All reactions