Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular shell with react web component and angular MFE (Lazy load/feature module) #1

Open
vjangari opened this issue Jan 12, 2021 · 1 comment

Comments

@vjangari
Copy link

vjangari commented Jan 12, 2021

We have been trying to load React MFE in to angular shell. This angular shell loading angular MFE's with lazy loading concept without any issue. This example you have given with web components.
Can you also include example to load react web components MFE and angular MFE with lazy/feature module with multiple components and load on to shell?

@vjangari vjangari reopened this Jan 22, 2021
@6ygga
Copy link

6ygga commented Feb 16, 2021

When i added Wrapper Component from the example to my app, and tried to use different angular version, I got :
bootstrap.ts:21 Error: inject() must be called from an injection contextat injectInjector
Only (core.js:4717)at Module.ɵɵinject (core.js:4727)
at Object.A11yModule_Factory [as factory] (a11y.js:2307)
at R3Injector.hydrate (core.js:11680)at R3Injector.get (core.js:11501)
at core.js:11538at Set.forEach ()
at R3Injector._resolveInjectorDefTypes (core.js:11538)
at new NgModuleRef$1 (core.js:24938)
at NgModuleFactory$1.create (core.js:24992)
I dont know how to fix it...
Could you help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants