Articles, Blog

Efficient, Expressive, and Extensible HTML Templates (Polymer Summit 2017)

December 18, 2019


You Might Also Like

24 Comments

  • Reply Ivan Čurić August 23, 2017 at 10:52 am

    So basically https://github.com/WebReflection/hyperHTML ?

  • Reply Ian Schober August 23, 2017 at 11:21 am

    <3

  • Reply grg August 23, 2017 at 12:32 pm

    holy shit the ability to render Promises is amazing

  • Reply rhn94 August 23, 2017 at 1:51 pm

    all those cringeworthy jokes lol

  • Reply SoulMaster MyFc August 23, 2017 at 2:59 pm

    Tagged template literal should be a killer feature that provide unimaginable potential.

  • Reply Shawn Biddle August 23, 2017 at 4:27 pm

    This was exactly my fear. Now instead of just having built-in functionality of syntax highlighting/completion from my editor I need to use or write an editor plugin to do something that I should get by default because we have to shove a template inside of a string. It's not "just javascript" it's an html template inside a javascript string. You don't get html syntax highlighting inside of a javascript string "for free." I understand the reasoning for these changes but that doesn't change that it's just worse usability.

  • Reply Kevin Sheppard August 23, 2017 at 4:42 pm

    +ve: I can finally do simple expressions in the template instead of writing a function for every little thing.
    -ve: DX inside an IDE could take a sharp hit… unless IDE makers like Jetbrains see this as a trend and start tweaking their code assistance and syntax highlighting to suit.

    After seeing it in action I'm a little more optimistic about HTML inside my JavaScript, although I've been running away from it since JSX hit the scene. Please, Polymer Team, make it great!

  • Reply Gert Cuykens August 23, 2017 at 9:50 pm

    Everytime Justin has a idea the whole polymer team knows their previous work on elements is going down the drain again haha 😛 I can imagine their faces looking at him as if he was a facebook employee. Trust met that polymer sugar extension thing was added because he was forced too 😛

  • Reply KyuWoo Choi September 1, 2017 at 12:10 pm

    Holy! Brilliant!

  • Reply g1m0kolis October 10, 2017 at 8:13 pm

    Looks very promising! I'm definitely considering using polymer now.

  • Reply Cy Walker November 1, 2017 at 9:03 pm

    felt like I was watching an old Ruby On Rails run down on Views

  • Reply Hernán Zamudio November 8, 2017 at 4:08 pm

    Press 9 key up there

  • Reply Gregor Boxall November 21, 2017 at 12:10 pm

    HTML is the common ground between developers (Javascript) and designers (CSS). Putting HTML inside Javascript brings many benefits to the developer but robs the designer of any ability to understand the structure of the resulting document.

  • Reply Korede Aderele December 4, 2017 at 12:10 am

    Smells like React

  • Reply Neo Skribe January 7, 2018 at 2:53 pm

    Has polymer 3.0 been abandoned? The github looks dead.

  • Reply Hailei Wang February 6, 2018 at 4:00 am

    🙁  What a pity. This made me finally decided to leave Polymer.

  • Reply Valentin Degenne March 26, 2018 at 4:46 pm

    One half year after this presentation and still no mixin for Polymer. Any head's up ?

  • Reply John Hardy August 18, 2018 at 1:17 pm

    Such a blatant copy of Andrea Giammarchi's hyperHtml library. He did it first and Google pretend that they invented it.

  • Reply Rock Rabin September 11, 2018 at 11:38 am

    After spending so much time on research and coding, what I get is diseases and sadness nothing more.

  • Reply Victor Tiamson December 28, 2018 at 11:37 am

    This is ReactJs + VueJs in one

  • Reply DKong1026 April 5, 2019 at 7:11 pm

    Polymer sucks

  • Reply Raymond June 14, 2019 at 2:39 pm

    16:00 lol, there's homer simpsons Woo

  • Reply Marian Čaikovski July 14, 2019 at 5:14 pm

    Assigning template strings directly to innerHTML is faster than via lit-html. So what improvements does lit-html offer?

  • Reply BG Bruno August 15, 2019 at 11:01 pm

    this simply should be everywhere – I see that simplicity and a lot of work behind – thx Google

  • Leave a Reply