[Luigi Container] Share Pinia Store #3588
Replies: 1 comment 12 replies
-
Hi @BossHogg97 , I am not familiar with the Pinia store, however it seems like you are trying to transfer some data from Core to Client app. Therefore I could see this issue abstracted into simply Core -> Client communication. For this we have a dedicated section in our documentation that I encourage you to have a look at Core-Client Communication In essence, you are sending a message from the Core to the Client microfrontend (and back if necessary). Note that the particular Core -> Client communication mechanism in this case is based underneath on iframe-iframe message passing mechanism. (The client microfrontend/s in this case is hosted under an iframe wheres the Core here would be its parent) So whether you are using Redux store in your React application, ngrx/store for your Angular ones or Pinia store for VueJs, in all cases this converges then into iframe message communication underneath. Looking at the examples in the documentation link above should give you an idea on how to approach your problem for sharing the state. Specific links and functions to get you started: |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm looking for a solution to share a Pinia store from Luigi Core app to Luigi Client. Both Core and Client app are developed with Vue3 framework.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions