Can Virtual DOM be crawled by any of the website like crawling the shadow DOM?

158 Views Asked by At

I read various articles about virtual DOM and Shadow DOM, their usage, reasons to opt for any one of them, etc.

But I recently came across a research paper mentioning that they were not able to crawl the Shadow DOM elements for some reason using their website crawlers.

However I find some Shadow DOM crawlers on the internet like https://www.npmjs.com/package/shadow-dom-crawler - But the owner strictly mentions not to use this crawler for updating any fields on the web page (Or that is what I understood from it).

So I was wondering if there are any useful crawlers to crawl virtual DOM? Or since there is no much difference between the actual DOM and the virtual DOM, the process of developing and working on both the corresponding crawlers should be the same?

0

There are 0 best solutions below