Discussion on: It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

adrianhelvik profile image

I agree with the sentiment, but it's less practical than React, etc.

Some problems with vanilla custom elements: You can't pass around objects, you have to handle DOM updates manually and elements must be uniquely named.

eddieaich profile image
Eddie Aich

All false statements. Of course you can pass around objects. It's plain JavaScript. You write modules using design patterns that allow you to do this. DOM updates, don't have to be manual. See Observer Pattern.