[Bug]: StsConfigHttpLoader invokes constant message events
What Version of the library are you using? 13.1.0
Describe the bug Runtime configuration with StsConfigHttpLoader invokes constant browser message events. Every event will invoke Angular's change detection cycle, which will lead to performance problems.
To Reproduce Steps to reproduce the behavior:
- Follow the documentation's 'Load config from HTTP (async)' sample code: documentation
- Run the app
- Use Angular dev tools to track change detection cycles
- Check the sources for change detection cycles
Expected behavior StsConfigHttpLoader won't invoke any unnecessary change detection cycles.
Desktop (please complete the following information):
- OS: Windows 10 enterprise
- Browser: Chrome
- Version: 98.0.4758.102 (Official Build) (64-bit)
Hi @niiloliimatainen The docs have been updated for V14, but we have not released yet.
Hi @damienbod , is the bug going to be fixed in V14, and can you give any info on the V14 release date?
I am not sure if the CD runs if you did not register on the events. Or at least one of the events. We have to investigate. Don't know if it will make it to V14 if this turns out a bug.
Is this still a thing?