4 ms·
This looks very similar to a library I wrote called https://fancy-pants.js.org https://fancy-pants.js.org which wraps custom elements. Mine allowed an opt-in ap
by sirsuki 4y ago
This looks very similar to a library I wrote called https://fancy-pants.js.org https://fancy-pants.js.org which wraps custom elements. Mine allowed an opt-in approach to shadow dom or use the light dom (with slot support)
Updates are scheduled and only components that need updating get their render method called. I even threw in a way to pass objects to child components by means of a yield method.
Just in case someone found it intereting.