Issue
I tried Angular Dev Tools Extension on a fairly complex Angular application. On the profiler tab, the moment I click "Start recording", even before I could move the cursor away from start button, I see there is a continuous stream of change detection cycles. The Source is reported as "Window.addEventListener:message". Please see the screenshot below
- How can I find what could be causing these events and hence the numerous change detection cycles?
- As seen in the screenshot there is a method called "changes" listed on the right under the component details. The CasePanelComponent does even have ngOnChanges() method, so what is being referred to here by "changes" method?
Solution
Redux DevTools interferes with Angular Dev tools. And the only option available currently is to disable Redux Dev tools.
Please see https://github.com/rangle/angular-devtools/issues/825 for more details.
Answered By - Phalgun
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.