What is the right way to use react-query in Microfrontends made using Module federation? #5971
Unanswered
bw-kshitij-vengurlekar
asked this question in
Q&A
Replies: 1 comment 2 replies
-
depends on what you want. should data be shared between them or now? If so, are they really "microfrontends", as they are not isolated? What if two write to the same cache entry by using the same key... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a 'host' app which is a client side rendered react application
Clicking on the side navigation in the 'host' loads the respective micro frontend which are federated modules
Now when I federate a module from a remote, Should the federated module have its own
QueryClientProvider
or should it use theQueryClientProvider
of the host?Beta Was this translation helpful? Give feedback.
All reactions