814 karma · joined September 22, 2008
And as a bonus : possibility to keep music videos playing while changing app. (A parameter has to be switched for that though)
An example not to follow : https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...
Here we are trying to explain templates and slots, with "slot" as an html attribute and the dummy data is... "slot". This kind of confusion is useless and makes it more difficult. Almost as if the goal was to be difficult.
https://news.ycombinator.com/item?id=44290315
Paper abstract :
ZjsComponent: A Pragmatic Approach to Modular, Reusable UI Fragments for Web Development
In this paper, I present ZjsComponent, a lightweight and framework-agnostic web component designed for creating modular, reusable UI elements with minimal developer overhead. ZjsComponent is an example implementation of an approach to creating components and object instances that can be used purely from HTML. Unlike traditional approaches to components, the approach implemented by ZjsComponent does not require build-steps, transpiling, pre-compilation, any specific ecosystem or any other dependency. All that is required is that the browser can load and execute Javascript as needed by Web Components. ZjsComponent allows dynamic loading and isolation of HTML+JS fragments, offering developers a simple way to build reusable interfaces with ease. This approach is dependency-free, provides significant DOM and code isolation, and supports simple lifecycle hooks as well as traditional methods expected of an instance of a class.See CSS image-set : https://developer.mozilla.org/en-US/docs/Web/CSS/image/image...
This little visual flashy aggression triggers a little angriness reaction.
I ended up escaping without reading what it was about.
If you love the internet, please respect dark mode.
The story is similar to a Robert Sheckley's short story from 1952,"The Prize of Peril" adapted into a movie in Germany in 1970 "Das Millionenspiel" and in France in 1982 "Le prix du danger" (same year as King's Running Man novel)
I would say "The Prize of Peril" is the grandfather of these books, movies and series, as far as I know. Battle Royale is the start of another branch, though : it's not one vs many anymore, it's many vs many.
More honest title : "The risk of Cancer Fades Over 80 Years Old, and We May Know Why."