While I don't necessarily agree with the implementation, this is very much the right idea - https://github.com/shama/base-element …
@shamakry I think my main concern was the use of .on instead of .attachListener, and how it'd integrate with https://www.npmjs.com/package/custom-element …
-
-
@yoshuawuyts Here is an example integrating with custom-element: https://github.com/shama/base-element/blob/master/examples/custom-element.js … -
@shamakry Hmh, also curious how `base-element` integrates with https://github.com/Raynos/main-loop …. You're supposed to feed it `el.render` right? - 1 more reply
New conversation -
-
-
@yoshuawuyts +1 renaming .on also I didn't know about custom-element and the other requireio repos. Looks interesting, thanks! :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.