Open
Description
Describe the bug
Hi, I was just about to use this package, but somehow I'm stuck with creating a button that should execute a "post" on a specific route. But the post is only executed once, unless I refresh the page or change a query parameter.
// only works once
const {post} = useFetch(`/hello`)
....
post({id:1})
// Works as expected several times
const {post} = useFetch(`/hello?q=${new Date().getTime()}`)
....
post({id:1})
Am I doing something wrong or is this possibly a bug. Thanks for the work!
Metadata
Metadata
Assignees
Labels
No labels