-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, is there any kind of handicap using the announcer, via composition, inside a watcher?
watch(s, (s1) => {
if (s1 === 0) {
polite('no sessions found');
} else {
polite('found x sessions');
}
});
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; the computed
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.
Metadata
Metadata
Assignees
Labels
No labels