News for hackers. Stuff that matters.
Re:Implementing single-file web components by 101404 on Monday March 23, 2020 @12:48PM (#22665829)
That was the original web components. Much better. Then they changed it to make it worse. :(
Re:Implementing single-file web components by tasogare on Monday March 23, 2020 @01:43PM (#22666553)
Yeah I remember reading about web components, getting excited and building a prototype. Then when I worked again on the project shadow DOM API changed and HTML imports were removed :| At this point I highly suspects the people behind the Web shit-show (spec writers and implementors) keep things bad on purpose as a way to get job security.