Performance and virtual dom Questions
Closed this issue · 3 comments
Autumnlight02 commented
Is this css select library faster than the element.match api? And is there a html parser which allows me to match any valid css selector virtually?
fb55 commented
What environment are you targeting?
Autumnlight02 commented
Chrome, wanna use it in a webworker
fb55 commented
You probably want to use Cheerio inside your web worker (using the slim export if you want to save some bytes). Besides that, is there a element.match
API you can use in a web worker?