Allow useDebounceFetcher to receive useFetcher options #382
rafael-lua
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
useFetcher
(https://remix.run/docs/en/main/hooks/use-fetcher) has the possibility of passing a key to allow using the same fetcher in different contexts. I notice the very usefuluseDebounceFetcher
does not support passing these props. It does support passing key on submit to cancel ongoing fetchers with the same key, but I imagine it would not share state and stuff, as the fetcher itself would have its own generated key by remix.Would it be possible to support passing the key?
Beta Was this translation helpful? Give feedback.
All reactions