-
Notifications
You must be signed in to change notification settings - Fork 215
fix: use afterRender and host #514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@Harpush I'll push an commit where I do that. |
BTW, I have no idea why the linter now forced me to remove the However, it was a stray, unneeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Harpush @Jefiozie
I moved the effect to afterrendereffect, and moved the other effect into 'host'
With this change, we no longer need to use
renderer2
in the component. Also, AFAIK, there is no change in the CD of the parent component. Using the computed value ensures that the thing is debounced as accurately as possible.I'm not 100% sure about this thing tho, so please review carefully
should closes #513