Pinia and MF with singleSPA #2885
Unanswered
einavk
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using singleSPA as an orchestrator for my microfrontends.
I used to work with Vuex, but now I'm moving on to Pinia.
I want each microfrontend to have its own pinia. I do not want to share store data between the apps in any way.
I wanted to ask:
Do I need to disposePinia() in the bootstrap of each MF and only after dispose to "createPinia" to avoid issues?
I have to say, that so far I did not dispose it, and did not encounter specific issues, but was contemplating on memory leaks etc.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions