【发布时间】:2018-11-05 10:59:07
【问题描述】:
继续阅读以下有关 Angular 应用程序中的不纯管道和纯管道的链接:
- What is impure pipe in Angular?
- https://blog.angularindepth.com/the-essential-difference-between-pure-and-impure-pipes-and-why-that-matters-999818aa068
- https://blog.mgechev.com/2017/11/12/faster-angular-applications-pure-pipes-memoization-pure-functions-part-2/
我想亲自查看由 Angular 应用程序创建的实例,但我什至不确定这是否真的可行。不一定是管道,而是任何东西。说组件和其他。
例如,这可以帮助我了解我希望更好地了解在摘要周期中创建实例的时间。
任何用于此目的的调试解决方案/分析器?
【问题讨论】:
-
WebStorm 可以显示所有实例和引用。
-
管道类针对它们使用的每个表达式进行实例化。
标签: angular typescript debugging profiler instances