We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Describe the bug Fetch is called in spite of conditional variable value is undefined
⚠️ Make a Codesandbox ⚠️
const {data} = useFetch(`/api/product/${id}`, {}, [id]);
Expected behavior Fetch shouldn't call the api when the conditional variables are undefined