Hi Joern,

There's a "View Bower docs" link in the left-nav that will take you to the
Bower-based package docs. Then you can choose 2.x versions from the version
dropdown.

As for you other questions...

On Sat, Oct 13, 2018 at 5:24 AM Joern Turner <[email protected]> wrote:

>
>
> Am Donnerstag, 11. Oktober 2018 20:55:44 UTC+2 schrieb John Teague:
>>
>> Unfortunately, HTML Imports is deprecated, which makes long term use of
>> Polymer 2 unworkable. So, migrating to Polymer 3 and ES modules fixes that,
>> and with migrator tool, which admittedly isn't perfect, can speed that. The
>> docs for polymer 2 are still in the polymer 2 site. I can't help with
>> search performance, but I suspect the index is logically favoring Polymer
>> 3, which are the most current docs.
>
>
> i know that html imports is deprecated but is that a reason to take
> documentation for 2.0 offline? I'm not talking about polymer-project.org
> but webcomponents.org where docs for version before 3.0 are missing.
>
> I wonder for whom Polymer is built - for those that follows the last hype
> (seems so) or for those that build serious applications.
>

Polymer is built to make Web Components easier to write. It's not about
hype, but about reducing the boilerplate needed to make fast, high-quality
Web Components with a great developer experience. We have customers that
quite serious applications with Polymer and Web Components, like YouTube
that was mentioned, and enterprise operations like large banks, publishers,
and companies with dozens to hundreds of properties that they need to share
components across.


> These applications cannot always be migrated quickly to a newer version
> and furthermore economic reasons always play a major role. How shall i sell
> that to a customer: the new version does not bring much benefit (if at all)
>

Polymer 3 and Polymer 2 share their same code, and they offer the same
benefits in terms of make Web Component authoring easier. The main benefit
of Polymer 3 are
- It doesn't require any Polyfills on Safari, Firefox as of version 63, and
soon Edge (they're implementing Web Components now).
- Polymer 3 elements are available on npm, and can have npm dependencies.
Bower is deprecated and has very few packages compared to npm.
- Polymer 3 elements are importable into other JavaScript modules. There
was no way to import Polymer 2 elements into JavaScript.

These are huge advantages.


> but we have to spent x days to migrate to the latest? Why just change if
> apps do well?
>
> Furthermore we'll likely never migrate to Polymer3 which is a major step
> backwards in our opinion (lack of descriptive templates). We love
> webcomponents and Polymer 2 but the latest directions the spec went are a
> clear mistake - efficiency over architecture. It's a pitty that specs not
> always evolve in the right direction.
>

The specs didn't change between Polymer 2 and 3. Yes, we stopped using HTML
Imports, but HTML Imports were already not going to be implemented by other
browsers. We simply stopped requiring a polyfill indefinitely.


> Sorry - but you hit that button in me again. It's pure frustration - i'm
> still hoping for HTML modules but certainly will never go with literal
> templates. That's simply rubbish
>

Polymer 3 and Polymer 2 component implementations are essentially
identical, we just have HTML-in-JS rather than JS-in-HTML. All the lines of
code are basically the same. The change in container format doesn't
fundamentally change the code you have to write, or the operations Polymer
has to do to instantiate elements and render templates. It's really all the
same code.

Sorry for your frustrations. We are trying to make Polymer simpler to use
by aligning with current standards and tools. We can't be an island forever.

Cheers,
  Justin


> - sorry again - it's not you i'm targetting.
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/d4a6fcd2-fe16-429a-b085-3895e706cd68%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/d4a6fcd2-fe16-429a-b085-3895e706cd68%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAEKsHmBQfYg%2BRBo4_YZefkCdWhw%2BkBXjHRe%3DvEzgMY7yAofz8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to