Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You can set the option enabled to false I totally and change it to true after your action, this will only trigger the fetch when enabled is true |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let say we have:
This will apparently fetch the data as soon as the component is rendered. But let's say I only want to fetch on a specific event. Is there something like this I can do?
This way, on later parts of code i can just call fetch() wherever appropriate
Beta Was this translation helpful? Give feedback.
All reactions