Coming back to this in 2023, I'm impressed at how lit-html and LitElement have become the lit project. It's quite nice to see that they've persevered, and I sometimes use lit-html standalone in some of my personal projects
@kyuwoochoi28877 жыл бұрын
I have been looking for a way how to write web components for some time. After discovering lit-html in polymer summit this year, now I think it's time to use web components. Justin said this is a small library, but I would say that this little library has created a huge opportunity on the road to web components. nice work polymer team.
@trappedcat36157 жыл бұрын
@ 5:53 The concepts of using tagged template literals and the template tag originated from hyperHTML. They should atleast acknowledge where they gained their inspiration.
@GifCoDigital6 жыл бұрын
Why would they, using tagged template literals for a TEMPLATING library is just common sense and nothing unique.
@basarat7 жыл бұрын
Secret sauce for performance at 18:18 🌹
@Textras7 жыл бұрын
Where were you 2 years ago!!? All good, you're here now! :)
@rezab3145 жыл бұрын
25:40 shouldn't the on-click be inside the template tags, ""?
@emerson00014 жыл бұрын
That sounds right, probably a mistake there.
@michaelpierce90966 жыл бұрын
Looks good for lightweight. It's a DOM cache?
@phutureproof5 жыл бұрын
I know im late to the party here but I'd love to see the browser deal with this stuff, and not have to choose one of or several nonesense libraries such as angular, vue, react [insert latest trend here]
@sharon0x17 жыл бұрын
This just seems to be a HyperHTML clone.
@mrmagnetic9276 жыл бұрын
what about Browser support? We are always getting new fancy templating libraries but no legacy browser support.
@Booyamakashi5 жыл бұрын
Excellent presentation.
@rahulb106 жыл бұрын
how can we implement routing in lit-HTML?
@brianyoung26015 жыл бұрын
@vaadin-router
@chulian18197 жыл бұрын
How to do server side rendering?
@hynjus0017 жыл бұрын
Am I gregnant?
@BrandNewByxor5 жыл бұрын
Generate HTML on the server, send it to the client.
@StEvUgnIn3 жыл бұрын
@@BrandNewByxor Pretty much. You have to interface your framework to node.js and configure routes. I'm sure Vaadin has tools for lit-html that allows you to do this.
@ahsath6 жыл бұрын
we want the documentation now!
@Nexus-rt1bm4 жыл бұрын
Amazing
@angsi32815 жыл бұрын
Sounds like Jekyll ...
@TesterAnimal13 жыл бұрын
Its a terrible idea. You can’t pass it around and have it changed. XML doesn’t merge. JSON does. Define the structure in JSON.
@centerfield63392 жыл бұрын
Thank goodness there's no XML here, then. Also, JSON and XML can merge equally well (or badly).
@augmentos7 жыл бұрын
hyperHTML not pleased.
@ЕгорВалов-д3с6 жыл бұрын
PR link?
@code4chaosmobile7 жыл бұрын
Bravo.
@producdevity7 жыл бұрын
I love it!!!!
@KelvinWKiger5 жыл бұрын
ReactJS + JSX = Satisfaction
@zunahexus6 жыл бұрын
template are hard yes men
@inaccessiblecardinal93526 жыл бұрын
Yeah, just write js.
@AnthonyAlaribe7 жыл бұрын
JSX has had all these for years now
@toooes7 жыл бұрын
Well, JS has only had template literals since 2015. You'll note Vue makes extensive use of the language features within their components because it was created *after* their inclusion to the language whereas React was created prior.
@filemot257 жыл бұрын
But with this you don't need to run diffing functions when the data changes