-
Couldn't load subscription status.
- Fork 71
Component hierarchy
Ben Grynhaus edited this page Mar 17, 2019
·
1 revision
The component hierarchy in a typical app is described by the below diagram, Fabric is used to demonstrate things, but the same ideas translate over to any other wrapper library:
- Things in red are Angular components (
@Component).- Surrounded by their respective
NgModules.
- Surrounded by their respective
- Things in blue are React components (in any form - either class or functional).
This is a pretty small app, but the same idea holds true for larger apps with dozens of NgModules.
Note that you can also create a
FabricModulein your app andimport+exportallFab*Modules there, similarly to other UI libraries. There are pros and cons to each approach, so choose what works best for your use-case.