Replies: 1 comment 2 replies
-
This typically is a bug, an ideally should be fixed at that level. things like |
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
-
I believe the only way I can solve the error [mobx] There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use
configure({ isolateGlobalState: true })
in my case is by setting isolateGlobalState to true, however I can not figure out where in my Angular project do I need to set it so this error doesn't appear.I have tried setting it in polyfills.ts, main.ts and app-routing.ts using the code:
None of these locations worked.
Why I need to do this:
In my Angular application, I am using Angular Tree Component and Redoc, which both use MobX.
Angular Tree Component uses MobX as a direct dependency, while Redoc uses it as a peer dependency, creating two instances of MobX in my project.
Beta Was this translation helpful? Give feedback.
All reactions