-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Using polite / assertive, via composition, inside a watcher #41
Comments
I think the problem is more related to calling the For example:
Quoting the Vue documentation: don't make async requests or mutate the DOM inside a computed getter!, I assume that the DOM change created by the polite method should kind of create a side effect. In this case, the word |
Hi, is there any kind of handicap using the announcer, via composition, inside a watcher?
I am suffering strange behaviors when I use, for example, the
polite
function inside a simple watcher after receiving a change. The weird behavior affects the computed properties of other components on the same page; thecomputed
property is regenerated repeatedly (it looks like the polite is forcing some kind of render).I do not know yet what is the root problem but what I know is if I remove the
polite
calling inside the watcher, the strange behaviors disappear.The text was updated successfully, but these errors were encountered: