Dependency injection with mutation function #6692
Unanswered
SainteCroquette
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey !
using @tanstack/react-query i created i little wrapper to handle dependency injection on mutation functions while keeping type inference.
I am using dependency injection for my api modules called gateways in the case.
Any feedback is welcome :)
Beta Was this translation helpful? Give feedback.
All reactions