danieldietrich / candid

Candid is a surprisingly fresh and frameworkless JavaScript library for building web applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turn web-component and web-import to custom elements.

danieldietrich opened this issue · comments

Currently we recursively use window.querySelectorAll() to find Candid elements. We can reduce that from O(n^2) to O(1) by making web-component a custom element that is processed by the browser.