New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put extra arguments for the getData callback #108
Comments
Hi @vladyslavKucheruk, |
🎉 This issue has been resolved in version 2.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@vladyslavKucheruk you can try Just pass options to the const onSubmit = async () => {
const response = await axios.get(...);
await getData({ ignoreCache: true, linkedId: response.id, tag: { action: 'EXAMPLE_ACTION' } })
} |
Thank you so much, I appreciate your support. Now it looks more similar to js and RN packages! |
I have an intention to use
getData
function like this:I cannot do that as
getData
doesn't take extra arguments.Which means I have to define custom arguments statically, when I initialize
useVisitorData
hook.Could you please correct me if I am wrong with the usage or provide the solution for this specific case.
Thank you!
The text was updated successfully, but these errors were encountered: