If a component is used in 2 places in Angular is it downloaded 2 times?

Viewed 27

Have a component inside other components or modules in an angular application, is it re-downloaded when inside a different module? Or does angular understand that it's the same component and doesn't re-download it?

1 Answers

No multiple downloads, unless you explicitly do that yourself! You can check your package.json to verify only a single version of any package is installed in your project.

Related