Y
Hacker News
new
|
ask
|
show
|
jobs
by
chalsprhebaodu
974 days ago
I believe you could use a sub tree mutation observer instead of polling.
1 comments
Groxx
974 days ago
Yes, definitely use mutation observers. Far faster to react and doesn't require polling, they're better in essentially every way when things aren't changing many times per second.
link