I think I'm on to something now: declarative custom element creation w/ template literals.https://github.com/mikeal/gza
-
Show this thread
-
It's *finally* at the point that you can do functional render pipelines. markdown-element looks great https://github.com/mikeal/markdown-element/blob/master/index.js …
1 reply 0 retweets 9 likesShow this thread -
time to ping
@pfrazee and@yoshuawuyts for some input :)5 replies 0 retweets 4 likesShow this thread -
Sooo, I'm a big fan this is all just web standards! Was curious how to make it return HTML strings natively in Node tho?
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts @pfrazee
You mean HTML nodes natively? Like bel?
1 reply 0 retweets 0 likes -
Yeah, exactly! :D
6 replies 0 retweets 0 likes -
Replying to @yoshuawuyts @pfrazee
forcing "just strings" makes it pretty clear that this all gets blown away on re-render. which is limiting, but probably a good thing.
1 reply 0 retweets 0 likes
I think for rendering in Node the Promise thing you got going is pretty good – if we can wait for that, and then serialize to string it good
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.