←back to thread

367 points lemonberry | 1 comments | | HN request time: 0.202s | source
Show context
sergeykish ◴[] No.24643638[source]
Web Components were crafted for jQuery world.

    $("#datepicker").datepicker()
Custom elements resolves problem we had with XHR HTML response, it instantiates automatically. Problem solved. Widgets were popular and easily broken by CSS, solved by Shadow DOM.
replies(1): >>24644681 #
c-smile ◴[] No.24644681[source]
Shadow DOM does not solve any real life problem.

sDOM is spherical horse in a vacuum, my pardon.

replies(2): >>24646303 #>>24646314 #
1. c-smile ◴[] No.24646314[source]
I'd appreciate any details from anonymous downvoters.

Any sample that can be done by sDOM and is not feasible without it and associated machinery?