Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Question on Source events in Profiler #972

Open
phalgunv opened this issue Nov 25, 2021 · 4 comments
Open

Question on Source events in Profiler #972

phalgunv opened this issue Nov 25, 2021 · 4 comments

Comments

@phalgunv
Copy link

phalgunv commented Nov 25, 2021

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
image

  1. How can I find what could be causing these events and hence the numerous change detection cycles?
  2. 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?

Note:
I had raised the same question on StackOverflow but I haven't got any response yet, so raised it here as an issue.

@eneajaho
Copy link

Hello, it looks like you have Redux Devtools installed.

It is a known issue that Redux Devtools interferes with Angular Devtools.

Check the issue here: Interferences with Redux DevTools extension

@phalgunv
Copy link
Author

Thanks @eneajaho .
Can you help with the second question about "changes" method?

@eneajaho
Copy link

eneajaho commented Nov 26, 2021

That is the ngOnChanges method on the component. @phalgunv

@phalgunv
Copy link
Author

phalgunv commented Dec 1, 2021

@eneajaho I see "changes" method reported for components which do not have "ngOnChanges" method implemented.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants