Closed JeoCo closed 4 years ago
Hello! I've seen the bug on a stackblitz link, but I can't repeat it in the tests.
Can you make Pull Request with the failed test? And then I'll fix it asap.
I have this same problem but I'm not sure on reproducing. It happens whatever I try
Hi, @davidhunt135 I've reproduced it and added pr #24 with test
I published new 9.0.4 version. It should to fix that. @JeoCo @davidhunt135 @alQlagin Thanks 💖
Hello, I've forked a stackblitz from one of the other (solved) issues here.
I was trying to create a very basic example where the "name" property in the "hello" component is emitting an event every time a "set" occurs (so one could keep track of its value in its parent component).
The following is all I changed: ( explanations in comments)
I then encounter a very strange phenomenon where "set name()" is run multiple times (without any actual need) with the last of them having an empty context ( this = {} ) thus throwing the following errors:
I should note that I'm specifically interested in the "name" property (that comes via @Input) - the goal is to keep its value synced with the parent in case it changes.
Also I should mention that if you give DynamicComponent a selector and place it directly in your template the issue doesn't occur. I've tested thoroughly seems to be an issue with ngxd.
Could you maybe shed some light on this behaviour? What am I doing wrong? Thanks :)