-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Labels
Milestone
Description
I have a specific use case, where I'm using redux-toolkit through module federation, so all my micro-frontends can access it. The problem is that every micro-frontend has its own React instance, and the exported hooks from the ReactModule won't work as we can't call one Hook from different React versions.
My current solution is basically copying and pasting the code from the buildQueryHooks
and buildMutationHooks
functions, but it would make everything way cleaner if the function buildHooks
were available!
Thanks for reading
Edit: Already created a PR since it's a really small change: #3451
msutkowski