- From: Zambonifofex <notifications@github.com>
- Date: Tue, 08 Nov 2016 07:44:54 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 8 November 2016 15:45:49 UTC
By the way, I agree that `is` looks horrifying, and is very counter‐intuitive. Everyone agree it’s a hack. In fact, you’ll see me arguing against them the same way you are earlier in this thread. Maybe if we did everything from scratch, we wouldn’t need `is`, but as it stands, it’s very necessary. Besides being useful for the progressive enhancement: if I have a `button type="submit" is="my-button"` it will act like a regular submit button if either the browser doesn’t support custom elements, or if the user has JavaScript disabled. > Is there something that you can do with juicy-template that you cannot do with a web component? Well, I’m not sure about `juicy-template`, but Polymer has “if”s and loops. They *could* have done `<dom-if><template>` instead of `<template is="dom-if">` but that looks ugly, and feels very unnatural. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/509#issuecomment-259172056
Received on Tuesday, 8 November 2016 15:45:49 UTC