←back to thread

367 points lemonberry | 4 comments | | HN request time: 0.239s | source
1. 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 #
2. 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 #
3. ◴[] No.24646303[source]
4. 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?