Repository navigation
Lazy Hooks
#2397
Replies: 3 comments 2 replies
|
Hey @emehmet , |
0 replies
|
Hi @omeraplak , I tried these structures but could not reach the result. After collecting data from useForm, I call refetch with button, but I couldn't find how to pass new variables to useTable. |
1 reply
|
I am trying to list the data with a table at the end from the data I collected using useStepsForm. useStepsForm queries are Graphql.mutation but I need to send Graphql.query query to server. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
All hook structures are configured to run when the component is rendered. But sometimes the data needs to be called again with the parameters to be given after a button is pressed. This can be done by adding the lazy property to all hook structures. Or, new components such as useTableLazy, useListLazy can be included.
I needed this while developing code now and I'm looking at how to do it.
All reactions