You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you already checked if a similar item is present on manager-components?
Yes, I have already checked the existing components/hooks/utils.
What do you expect from this request?
Hook
Description
When using useFeatureAvailability hook we may need to override query options, for example if we only want to fetch feature availability in some cases it would be nice to tell tanstack that the request is enabled only in these cases.
Have you already checked if a similar item is present on manager-components?
What do you expect from this request?
Hook
Description
When using
useFeatureAvailability
hook we may need to override query options, for example if we only want to fetch feature availability in some cases it would be nice to tell tanstack that the request is enabled only in these cases.To do so we could modify the code as such:
This way we can configure the request as wanted (in any context) without impacting the behavior (as we don't override the
queryKey
andqueryFn
)Where do you expect to use this?
packages/manager-react-components/src/hooks/feature-availability/useFeatureAvailability.ts
Do you have mock-up?
No response
When do you expect this to be delivered?
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: