Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
chalsprhebaodu
2y ago
0 comments
Share
I believe you could use a sub tree mutation observer instead of polling.
0 comments
default
newest
oldest
Groxx
2y 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.
j
/
k
navigate · click thread line to collapse