Angular提供了一些接口,用来介入组件生命周期的几个关键时间点:刚创建时、每次变化时,以及最终被销毁时。
Angular offers a number of interfaces for tapping into critical moments in the component lifecycle: at creation, after each change, and at its eventual destruction.
所以还是那句话,一切都要到最终的性能优化时才能决定它们的数量以及留存的时间。
So again, it's going to come down to final performance tweaks as to how many of them will remain on screen and for how long.
所以还是那句话,一切都要到最终的性能优化时才能决定它们的数量以及留存的时间。
So again, it's going to come down to final performance tweaks as to how many of them will remain on screen and for how long.
应用推荐