Reputation: 245
How to correctly handle below scenario ?
StandaloneComponent ( needs for example ReactiveFormsModule )
ModuleA
ModuleB ( imports ReactiveFormsModule)
If I got above structure reactive forms module is not recognized in standalone… how it should looks like ?
Upvotes: 0
Views: 68
Reputation: 55669
Standalone component require explicit imports.
If you component want to use a directive from ReactiveFormsModule
you'll need to import it. There is no transitive import in the case standalone.
Upvotes: 0