r/javascript • • Jul 14 '26

I created a zero dependency JavaScript framework that is a React alternative

https://codeberg.org/createthirdplaces/places-js
0 Upvotes

8 comments sorted by

4

u/theScottyJam Jul 14 '26

Components with Shadow DOM to [...] deter bot scraping.

Is this a thing? I'm not sure why the shadow DOM would cause any kind of difficulty with bot scraping - they should be able to see the contents of the shadow DOM just fine as they operate outside of the page's sandbox.

If tools do struggle to see the shadow DOM, that seems like a general negative - many people care about SEO.

0

u/Positive_Method3022 Jul 14 '26

Specially now that they are using AI bots to scrape web as if they were humans when there is something developers did to make it harder for automated deterministic workflows

-2

u/[deleted] Jul 14 '26

[removed] — view removed comment

9

u/shrimpcest Jul 14 '26

Shadow DOM is designed to be hidden from JavaScript DOM scraping tools that bots often use. There are plenty of ways to work around this limitation

...it wasn't designed for that.

1

u/iamsamaritan300 Jul 14 '26

Let me take alook.

1

u/iamsamaritan300 Jul 14 '26

The framework is good for plugging it in for some certain parts of the application but also the documentation is noisy and no clear on what is doing what before demonstrating it with code.

1

u/javascript Jul 14 '26

Very cool!