Add a isDebouncing
property to useDebouncedFetcher
and add a key
property
#410
janhesters
started this conversation in
Ideas
Replies: 1 comment
-
@sergiodxa any plans on adding this feature? |
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
-
If you want to create a "Saving ..." loading state, you don't only want to show that when the fetch is happening (e.g. via
useNavigation()
). Instead, you already want to show it if the fetcher is debouncing.Also if you want to share access across components, you need the
key
property.Example implementation - @sergiodxa please tag me if I should make a PR for this:
Beta Was this translation helpful? Give feedback.
All reactions