vue2 uses @originjs/vite-plugin-federation. Why does the state object in store defined by pinia change from Observer2 to RefImpl2?
BertramXue opened this issue · comments
Versions
- vite-plugin-federation: v1.2.1
- vite: v2.9.15
- pinia: v2.0.12
- vue: v2.6.14
Reproduction
Additional Details
vue2 uses @originjs/vite-plugin-federation. Why does the state object in store defined by pinia change from Observer2 to RefImpl2? Therefore, we can only use toRefs deconstruction store to solve this problem, but it is expensive to transform old projects. What can I do?
Steps to reproduce
What is Expected?
vue2 uses @originjs/vite-plugin-federation. The state object in store defined by pinia change is Observer2.
What is actually happening?
vue2 uses @originjs/vite-plugin-federation. The state object in store defined by pinia change is RefImpl2